eoscanada / eosc

Cross-platform EOSIO command-line swiss-army-knife (EOS, BOS, Telos, Worbli, etc.)
https://eosc.app
MIT License
134 stars 59 forks source link

`eosc tools names` should support negative form of `i64` #118

Open fproulx-dfuse opened 5 years ago

fproulx-dfuse commented 5 years ago

WASM does not natively care about integer signage, so uint64 end up being represented as int64 and the bytecode will do thee arithmetic to compensate... which means that often an EOS name like propose will show up as a negative constant in the bytecode.

It would be helpful if the name encoding helper would support this.