Change ABIEncoderV1 to not pad empty strings

This commit is contained in:
Alex Beregszaszi
2020-12-01 14:32:18 +00:00
parent 390640f557
commit d22434ee57
6 changed files with 16 additions and 8 deletions
@@ -13,6 +13,6 @@ contract C {
// compileViaYul: false
// revertStrings: debug
// ----
// f() -> FAILURE, hex"08c379a0", 0x20, 0, ""
// f() -> FAILURE, hex"08c379a0", 0x20, 0
// g(string): 0x20, 0, "" -> FAILURE, hex"08c379a0", 0x20, 0
// g(string): 0x20, 0 -> FAILURE, hex"08c379a0", 0x20, 0