-
-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[codegen]: fix non-memory reason strings (#3877)
fix code generation for non-memory reason strings. previously, the byte array copier would fail trying to produce code for the buf, which was an int rather than an IRnode. this commit cleans up the revert generation code, allocates a fresh buffer to avoid memory cleanliness issues, and refactors the code to use abi_encoder code instead of handrolling the ABI encoding routine. --------- Co-authored-by: Charles Cooper <[email protected]>
- Loading branch information
1 parent
e48ff32
commit cedf708
Showing
3 changed files
with
44 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters