core: fix typo in blockchain test (#24263)

release/1.10
Di Peng 3 years ago committed by GitHub
parent 5bcbb2980b
commit c029cdc90b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      core/blockchain_test.go

@ -2987,10 +2987,10 @@ func TestDeleteRecreateSlots(t *testing.T) {
initCode := []byte{ initCode := []byte{
byte(vm.PUSH1), 0x3, // value byte(vm.PUSH1), 0x3, // value
byte(vm.PUSH1), 0x3, // location byte(vm.PUSH1), 0x3, // location
byte(vm.SSTORE), // Set slot[3] = 1 byte(vm.SSTORE), // Set slot[3] = 3
byte(vm.PUSH1), 0x4, // value byte(vm.PUSH1), 0x4, // value
byte(vm.PUSH1), 0x4, // location byte(vm.PUSH1), 0x4, // location
byte(vm.SSTORE), // Set slot[4] = 1 byte(vm.SSTORE), // Set slot[4] = 4
// Slots are set, now return the code // Slots are set, now return the code
byte(vm.PUSH2), byte(vm.PC), byte(vm.SELFDESTRUCT), // Push code on stack byte(vm.PUSH2), byte(vm.PC), byte(vm.SELFDESTRUCT), // Push code on stack
byte(vm.PUSH1), 0x0, // memory start on stack byte(vm.PUSH1), 0x0, // memory start on stack

Loading…
Cancel
Save