vm: update default vm sm to simple state manager #4209
Annotations
10 errors
test/api/copy.spec.ts > VM Copy Test > should pass copy of state manager:
packages/vm/test/api/copy.spec.ts#L22
AssertionError: non-committed checkpoints will not be copied: expected Account{ _nonce: 5n, …(5) } to equal undefined
- Expected:
undefined
+ Received:
Account {
"_balance": 100n,
"_codeHash": Uint8Array [
197,
210,
70,
1,
134,
247,
35,
60,
146,
126,
125,
178,
220,
199,
3,
192,
229,
0,
182,
83,
202,
130,
39,
59,
123,
250,
216,
4,
93,
133,
164,
112,
],
"_codeSize": 0,
"_nonce": 5n,
"_storageRoot": Uint8Array [
86,
232,
31,
23,
27,
204,
85,
166,
255,
131,
69,
230,
146,
192,
248,
110,
91,
72,
224,
27,
153,
108,
173,
192,
1,
98,
47,
181,
227,
99,
180,
33,
],
"_version": 0,
}
❯ test/api/copy.spec.ts:22:11
|
test/api/customChain.spec.ts > VM initialized with custom state > should transfer eth from already existent account:
packages/vm/test/api/customChain.spec.ts#L73
TypeError: vm.stateManager.generateCanonicalGenesis is not a function
❯ test/api/customChain.spec.ts:73:26
|
test/api/customChain.spec.ts > VM initialized with custom state > should retrieve value from storage:
packages/vm/test/api/customChain.spec.ts#L102
TypeError: vm.stateManager.generateCanonicalGenesis is not a function
❯ test/api/customChain.spec.ts:102:26
|
test/api/index.spec.ts > VM -> basic instantiation / boolean switches > should instantiate without params:
packages/vm/test/api/index.spec.ts#L34
TypeError: Cannot read properties of undefined (reading 'root')
❯ test/api/index.spec.ts:34:56
|
test/api/index.spec.ts > VM -> basic instantiation / boolean switches > should be able to activate precompiles:
packages/vm/test/api/index.spec.ts#L44
TypeError: Cannot read properties of undefined (reading 'root')
❯ test/api/index.spec.ts:44:56
|
test/api/index.spec.ts > VM -> setHardfork, state (deprecated), blockchain > should instantiate:
packages/vm/test/api/index.spec.ts#L236
TypeError: Cannot read properties of undefined (reading 'root')
❯ test/api/index.spec.ts:236:56
|
test/api/runBlock.spec.ts > runBlock() -> successful API parameter usage > PoW block, unmodified options:
packages/vm/test/api/runBlock.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'root')
❯ simpleRun test/api/runBlock.spec.ts:71:56
❯ test/api/runBlock.spec.ts:138:4
|
test/api/runBlock.spec.ts > runBlock() -> successful API parameter usage > Uncle blocks, compute uncle rewards:
packages/vm/test/api/runBlock.spec.ts#L100
TypeError: Cannot read properties of undefined (reading 'root')
❯ uncleRun test/api/runBlock.spec.ts:100:62
❯ test/api/runBlock.spec.ts:143:4
|
test/api/runBlock.spec.ts > runBlock() -> successful API parameter usage > PoW block, Common custom chain (createCustomCommon() static constructor):
packages/vm/test/api/runBlock.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'root')
❯ simpleRun test/api/runBlock.spec.ts:71:56
❯ test/api/runBlock.spec.ts:152:4
|
test/api/runBlock.spec.ts > runBlock() -> successful API parameter usage > PoW block, Common custom chain (Common customChains constructor option):
packages/vm/test/api/runBlock.spec.ts#L71
TypeError: Cannot read properties of undefined (reading 'root')
❯ simpleRun test/api/runBlock.spec.ts:71:56
❯ test/api/runBlock.spec.ts:162:4
|