Open mzabaluev opened 3 years ago
After updating evm-tests to use evm 0.28 (https://github.com/rust-blockchain/evm-tests/pull/4) and ethereum-tests 9.0.2 (https://github.com/rust-blockchain/evm-tests/pull/5), the following failures are observed with state test cases:
GeneralStateTests/stRandom2:
GeneralStateTests/stRandom2
Running randomStatetest649:Istanbul:0 ... thread '<unnamed>' panicked at 'Hash not equal; calculated: 0x785db7415f4af466812dec4fd5a20f2115b6b990956d07bfed079d92d9941a8f, expect: 0x4d43f8e828620d9b54c4070f0006c3b51aa26761b06ea21b611630e646cd5259 State: {0x000000000000000000000000000000ca1100f022: MemoryAccount { nonce: 0, balance: 0, storage: {}, code: [127, 108, 117, 109, 191, 101, 114, 105, 99, 97, 110, 32, 127, 148, 57, 48, 55, 51, 55, 57, 54, 53, 51, 49, 54, 54, 49, 48, 48, 55, 52, 90, 5, 96, 0, 82, 127, 114, 101, 115, 117, 130, 103, 48, 117, 116, 32, 116, 101, 0, 65, 3, 10, 0, 0, 0, 239, 191, 113, 37, 232, 108, 117, 109, 191, 101, 114, 105, 99, 96, 32, 82, 127, 97, 110, 32, 127, 148, 57, 48, 55, 51, 55, 57, 54, 53, 51, 49, 54, 54, 49, 48, 48, 55, 52, 90, 5, 114, 101, 115, 117, 130, 103, 48, 117, 127, 116, 32, 116, 101, 0, 65, 3, 10, 0, 0, 0, 239, 191, 113, 37, 232, 108, 117, 109, 191, 101, 114, 105, 99, 97, 110, 32, 127, 148, 57, 48, 55, 127, 51, 55, 57, 54, 53, 51, 49, 54, 54, 49, 48, 48, 55, 52, 90, 5, 114, 101, 115, 117, 130, 103, 48, 117, 116, 32, 116, 101, 0, 65, 3, 10, 124, 239, 191, 113, 37, 232, 108, 117, 109, 191, 101, 114, 105, 99, 97, 110, 32, 127, 148, 57, 48, 55, 51, 55, 57, 54, 53, 51, 49, 54, 127, 54, 49, 48, 48, 55, 52, 90, 5, 114, 101, 115, 117, 130, 103, 48, 117, 116, 32, 116, 101, 0, 65, 3, 10, 0, 0, 0, 239, 191, 113, 37, 232, 96, 108, 96, 224, 83, 96, 117, 96, 225, 83, 96, 109, 96, 226, 83, 96, 191, 96, 227, 83, 96, 101, 96, 228, 83, 96, 114, 96, 229, 83, 96, 105, 96, 230, 83, 96, 99, 96, 231, 83, 96, 232, 96, 0, 96, 0, 240, 96, 0, 96, 0, 96, 0, 96, 0, 132, 90, 105, 80, 80, 127, 127, 148, 57, 48, 55, 51, 55, 57, 54, 53, 51, 49, 54, 54, 49, 48, 48, 55, 52, 90, 5, 114, 101, 115, 117, 130, 103, 48, 117, 116, 32, 116, 96, 0, 82, 96, 32, 96, 0, 243, 91, 65, 0, 97, 148, 57, 97, 32, 127, 97, 97, 110, 97, 105, 99, 97, 101, 114, 96, 5, 99, 1, 43, 155, 191, 241, 103, 0, 0, 0, 0, 0, 0, 1, 95, 86, 91, 103, 0, 0, 0, 0, 0, 0, 76, 166, 86, 97, 54, 53, 81, 97, 54, 54, 85, 97, 54, 85, 81, 97, 54, 55, 85, 97, 54, 117, 81, 97, 54, 56, 85, 97, 54, 149, 81, 97, 54, 57, 85, 97, 54, 181, 81, 97, 54, 58, 85, 97, 54, 213, 81, 97, 54, 59, 85, 97, 54, 245, 81, 97, 54, 60, 85, 97, 55, 21, 81, 97, 54, 61, 85, 97, 55, 53, 81, 97, 54, 62, 85, 97, 55, 85, 81, 97, 54, 63, 85, 97, 55, 117, 81, 97, 54, 64, 85, 97, 55, 149, 81, 97, 54, 65, 85, 97, 55, 181, 81, 97, 54, 66, 85, 97, 55, 213, 81, 97, 54, 67, 85, 97, 55, 245, 81, 97, 54, 68, 85, 97, 56, 21, 81, 97, 54, 69, 85, 97, 56, 53, 81, 97, 54, 70, 85, 97, 56, 85, 81, 97, 54, 71, 85, 97, 56, 117, 81, 97, 54, 72, 85, 97, 56, 149, 81, 97, 54, 73, 85, 97, 56, 181, 81, 97, 54, 74, 85, 97, 56, 213, 81, 97, 54, 75, 85, 97, 56, 245, 81, 97, 54, 76, 85, 97, 57, 21, 81, 97, 54, 77, 85, 97, 57, 53, 81, 97, 54, 78, 85, 97, 57, 85, 81, 97, 54, 79, 85, 97, 57, 117, 81, 97, 54, 80, 85, 97, 57, 149, 81, 97, 54, 81, 85, 97, 57, 181, 81, 97, 54, 82, 85, 97, 57, 213, 81, 97, 54, 83, 85, 97, 57, 245, 81, 97, 54, 84, 85, 97, 58, 21, 81, 97, 54, 85, 85, 97, 58, 53, 81, 97, 54, 86, 85, 97, 58, 85, 81, 97, 54, 87, 85, 97, 58, 117, 81, 97, 54, 88, 85, 97, 58, 149, 81, 97, 54, 89, 85, 97, 58, 181, 81, 97, 54, 90, 85, 97, 58, 213, 81, 97, 54, 91, 85, 97, 58, 245, 81, 97, 54, 92, 0] }, 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b: MemoryAccount { nonce: 1, balance: 4611686018425909623, storage: {}, code: [] }, 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b: MemoryAccount { nonce: 0, balance: 1478280, storage: {}, code: [] }}', jsontests/src/utils.rs:131:9
GeneralStateTests/VMTests/vmIOandFlowOperations:
GeneralStateTests/VMTests/vmIOandFlowOperations
Running jumpi:Istanbul:21 ... thread '<unnamed>' panicked at 'Hash not equal; calculated: 0xf7c921863badd0fda19afaf9642e11f4427da0fa6a2ef5292299441dbcbd0f41, expect: 0xcb4c1a36b69d9d31aa60924e43fa6bc9a76340bc1d95e905eb1a0a1c73ce0feb State: {0x0000000000000000000000000000000000000100: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 1, 96, 16, 96, 32, 2, 87, 91, 0] }, 0x0000000000000000000000000000000000000101: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 1, 96, 16, 96, 32, 2, 87, 91, 0] }, 0x0000000000000000000000000000000000000102: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 1, 96, 6, 87, 0, 91, 97, 96, 13, 96, 0, 85, 0] }, 0x0000000000000000000000000000000000000103: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 255, 99, 15, 255, 255, 255, 87, 0] }, 0x0000000000000000000000000000000000000104: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 35, 96, 1, 96, 8, 87, 96, 1, 91, 96, 2, 85] }, 0x0000000000000000000000000000000000000105: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 91, 96, 6, 96, 6, 87] }, 0x0000000000000000000000000000000000000106: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 1, 96, 10, 87, 96, 255, 91, 96, 0, 85] }, 0x0000000000000000000000000000000000000107: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 11, 86, 91, 97, 96, 13, 96, 0, 85, 0, 91, 96, 1, 96, 3, 87] }, 0x0000000000000000000000000000000000000108: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 1, 96, 4, 96, 5, 1, 87, 0, 91, 97, 96, 13, 96, 0, 85] }, 0x0000000000000000000000000000000000000109: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 1, 96, 7, 87, 0, 96, 91, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000010a: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 1, 96, 7, 87, 0, 96, 1, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000010b: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 1, 96, 13, 87, 90, 91, 90, 96, 1, 85] }, 0x000000000000000000000000000000000000010c: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 1, 96, 11, 87, 90, 91, 90, 96, 1, 85] }, 0x000000000000000000000000000000000000010d: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 17, 104, 1, 0, 0, 0, 0, 0, 0, 0, 13, 87, 91, 91, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000010e: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 17, 100, 1, 0, 0, 0, 9, 87, 91, 91, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000010f: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 0, 81, 80, 96, 1, 96, 0, 3, 80, 96, 1, 96, 0, 81, 87, 97, 96, 13, 96, 0, 85, 0] }, 0x0000000000000000000000000000000000000110: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 1, 96, 14, 87, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 97, 96, 13, 96, 0, 85] }, 0x0000000000000000000000000000000000000111: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 16, 96, 0, 82, 91, 96, 1, 96, 0, 81, 3, 128, 96, 0, 82, 96, 11, 87] }, 0x0000000000000000000000000000000000000200: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 0, 96, 16, 96, 32, 2, 87, 91, 0] }, 0x0000000000000000000000000000000000000201: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 0, 96, 16, 96, 32, 2, 87, 91, 0] }, 0x0000000000000000000000000000000000000202: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 0, 96, 6, 87, 0, 91, 97, 96, 13, 96, 0, 85, 0] }, 0x0000000000000000000000000000000000000203: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [97, 96, 13, 96, 0, 85, 96, 0, 99, 15, 255, 255, 255, 87, 0] }, 0x0000000000000000000000000000000000000208: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 0, 96, 4, 96, 5, 1, 87, 0, 91, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000020d: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 0, 104, 1, 0, 0, 0, 0, 0, 0, 0, 13, 87, 91, 91, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000020e: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 0, 100, 1, 0, 0, 0, 9, 87, 91, 91, 97, 96, 13, 96, 0, 85] }, 0x000000000000000000000000000000000000020f: MemoryAccount { nonce: 0, balance: 838137708091124174, storage: {}, code: [96, 0, 81, 80, 96, 1, 96, 0, 3, 80, 96, 0, 96, 0, 81, 87, 97, 96, 13, 96, 0, 85, 0] }, 0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: MemoryAccount { nonce: 0, balance: 874730, storage: {}, code: [] }, 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b: MemoryAccount { nonce: 1, balance: 17592185169685, storage: {}, code: [] }, 0xcccccccccccccccccccccccccccccccccccccccc: MemoryAccount { nonce: 0, balance: 838137708091124175, storage: {0x0000000000000000000000000000000000000000000000000000000000000000: 0x0000000000000000000000000000000000000000000000000000000000000bad}, code: [96, 0, 96, 0, 96, 0, 96, 0, 96, 4, 53, 98, 1, 0, 0, 244, 0] }}', jsontests/src/utils.rs:131:9
@sorpaas is this still a problem?
After updating evm-tests to use evm 0.28 (https://github.com/rust-blockchain/evm-tests/pull/4) and ethereum-tests 9.0.2 (https://github.com/rust-blockchain/evm-tests/pull/5), the following failures are observed with state test cases:
GeneralStateTests/stRandom2
:GeneralStateTests/VMTests/vmIOandFlowOperations
: