You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avalanchego generates these bytes for the above: 00000000000d0000053900000000000000000000000000000000000000000000000000000000000000000000000194b45aa6e4464a9ad3fc4e73c7947ba1632d7c820baf0ebbfc7548c4823f26bd0000000700470de4d97cdcc0000000000000000000000001000000013cb7d3842e8cee6a0ebd09f1fe884f6861e1b29c000000011aa63be8467b5f45765fb172c6ed6644a6edb66ca041167e60a0781662fade580000000094b45aa6e4464a9ad3fc4e73c7947ba1632d7c820baf0ebbfc7548c4823f26bd0000000500470de4d98c1f00000000010000000000000000bd8ad0a918e6791a321e03355e707609ecf856de0000000065fdf7110000000065fdf80100000000000000141aa63be8467b5f45765fb172c6ed6644a6edb66ca041167e60a0781662fade580000000a00000001000000000000000200000009000000013265999bb1a3390f09ca28a75e293faeb2f5670d26d9e99dfef9db7ccf08ccbb35f8fe144e63c91f24d0eca57d9db9d8cf7c223362e58b89eb0d317d4c35ac1c0000000009000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
But the only structure I can come up with that this Rust SDK will deserialize looks like this:
There seem to be some inconsistencies with Go and Rust with regards to JSON serialization.
AvalancheGo serializes a tx to JSON
json.Marshal(tx)
that looks like this:Avalanchego generates these bytes for the above:
00000000000d0000053900000000000000000000000000000000000000000000000000000000000000000000000194b45aa6e4464a9ad3fc4e73c7947ba1632d7c820baf0ebbfc7548c4823f26bd0000000700470de4d97cdcc0000000000000000000000001000000013cb7d3842e8cee6a0ebd09f1fe884f6861e1b29c000000011aa63be8467b5f45765fb172c6ed6644a6edb66ca041167e60a0781662fade580000000094b45aa6e4464a9ad3fc4e73c7947ba1632d7c820baf0ebbfc7548c4823f26bd0000000500470de4d98c1f00000000010000000000000000bd8ad0a918e6791a321e03355e707609ecf856de0000000065fdf7110000000065fdf80100000000000000141aa63be8467b5f45765fb172c6ed6644a6edb66ca041167e60a0781662fade580000000a00000001000000000000000200000009000000013265999bb1a3390f09ca28a75e293faeb2f5670d26d9e99dfef9db7ccf08ccbb35f8fe144e63c91f24d0eca57d9db9d8cf7c223362e58b89eb0d317d4c35ac1c0000000009000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
But the only structure I can come up with that this Rust SDK will deserialize looks like this:
The text was updated successfully, but these errors were encountered: