Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Bug in impl AbiType for Vec<T> #84

Open
updogliu opened this issue Apr 10, 2019 · 0 comments
Open

Bug in impl AbiType for Vec<T> #84

updogliu opened this issue Apr 10, 2019 · 0 comments

Comments

@updogliu
Copy link

Version: 0.2.2

According to the spec, Vec<T> should be encoded as enc(k) enc([X[0], ..., X[k-1]]), when k is the length of the Vec<T>. However the current impl encodes it as enc(k, [X[0], ..., X[k-1]]).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant