-
Notifications
You must be signed in to change notification settings - Fork 3.8k
cleos remove wasm to wast conversion 📦 #10816
Conversation
… Also improve error reporting of wasm to wast errors.
@@ -6,6 +6,6 @@ namespace eosio { namespace chain { | |||
|
|||
std::vector<uint8_t> wast_to_wasm( const std::string& wast ); | |||
std::string wasm_to_wast( const std::vector<uint8_t>& wasm, bool strip_names ); | |||
std::string wasm_to_wast( const uint8_t* data, uint64_t size, bool strip_names ); | |||
std::string wasm_to_wast( const uint8_t* data, uint64_t size, bool strip_names, bool check_limits = true ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can all the wasm_to_wast stuff be ripped out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It is not used, so might as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's probably possible to purge more, down in the libraries/wasm-jit/Source/WAST (and include dir). That would be highly desirable, but maybe not critical at the moment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, hm, can't remove all too much in there since unit tests since use wast
Change Description
cleos
to not perform wasm to wast conversion.Change Type
Select ONE:
Testing Changes
Select ANY that apply:
Consensus Changes
API Changes
Documentation Additions