Merge pull request #9615 from haltman-at/fix-immutable-refs-docs

Correct immutableReferences documentation from array to object
This commit is contained in:
Alex Beregszaszi 2020-08-13 00:31:12 +01:00 committed by GitHub
commit acdaff6308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,11 +441,11 @@ Output Description
}, },
"deployedBytecode": { "deployedBytecode": {
..., // The same layout as above. ..., // The same layout as above.
"immutableReferences": [ "immutableReferences": {
// There are two references to the immutable with AST ID 3, both 32 bytes long. One is // There are two references to the immutable with AST ID 3, both 32 bytes long. One is
// at bytecode offset 42, the other at bytecode offset 80. // at bytecode offset 42, the other at bytecode offset 80.
"3": [{ "start": 42, "length": 32 }, { "start": 80, "length": 32 }] "3": [{ "start": 42, "length": 32 }, { "start": 80, "length": 32 }]
] }
}, },
// The list of function hashes // The list of function hashes
"methodIdentifiers": { "methodIdentifiers": {