Skip to content

Commit

Permalink
Adds storedMalformedBytecodeHasStartFromTx test
Browse files Browse the repository at this point in the history
Same as previous test, but tests bytecode returned from tx
  • Loading branch information
lrettig committed Oct 25, 2018
1 parent 7879178 commit b96ed5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Test malformed bytecode (has start) in init on create from tx
storedMalformedBytecodeHasStartFromTx:
env:
currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
Expand All @@ -7,6 +8,7 @@ storedMalformedBytecodeHasStartFromTx:
currentTimestamp: '1000'
previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6
pre:
# tx sender
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
balance: '100000000000'
code: ''
Expand All @@ -15,13 +17,15 @@ storedMalformedBytecodeHasStartFromTx:
expect:
- indexes:
data: !!int -1
gas: !!int -1
gas: !!int -1
value: !!int -1
network:
- ALL
result:
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
balance: '99916113919'
# newly-created contract
# expect code to be empty since create should fail
6295ee1b4f6dd65047762f924ecd367c17eabf8f:
shouldnotexist: "1"
transaction:
Expand Down

0 comments on commit b96ed5a

Please sign in to comment.