Bo Yao

Results 65 issues of Bo Yao

borsh solidity implemented here: https://github.com/near/rainbow-bridge/blob/master/libs-sol/nearbridge/contracts/Borsh.sol And also need a code generator to generate deserialize/serialize struct XXX. Generated solidity code should look like: https://github.com/near/rainbow-bridge/blob/master/libs-sol/nearbridge/contracts/NearDecoder.sol#L52

Write a full test suite and a supplementary borsh spec documentation. All borsh implementation should pass this suite.

a python borsh implementation

Ideally gives a better performance compare to language native implementation. It should be an optional feature (native extension) that people can use in borsh-js and borsh-python

Besides #84 , borsh-c should generate header file / serialization / deserialization c source code given existing schema file. The result c source code can be compiled in a C...

Such as serialize and deserialize unsigned int, int of all size, float, etc. So it's enough to do borsh serialize/deserialize in C.

I propose of a common set of operations that should be implemented by all borsh implementations in different programming languages. Some implementation, like rust has macros, can have additional features...

When implement borshSerialize on some wasmer cache object, there's some fields using `cranelift_entity::{PrimaryMap, SecondaryMap}` and `indexmap::IndexMap`, but they do not have BorshSerialize implemented, which make entire structs not derivable. We...

Minimal example: ``` #[derive(BorshSerialize, BorshDeserialize)] enum A { X, Y(Box), } ``` gives compilation error: ``` error[E0275]: overflow evaluating the requirement `Box: BorshSerialize` --> src/main.rs:3:10 | 3 | #[derive(BorshSerialize, BorshDeserialize)]...