@@ -72,7 +72,7 @@ def test_bal_invalid_missing_nonce(
72
72
blocks = [
73
73
Block (
74
74
txs = [tx ],
75
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
75
+ exception = BlockException .INVALID_BLOCK_ACCESS_LIST ,
76
76
expected_block_access_list = BlockAccessListExpectation (
77
77
account_expectations = {
78
78
sender : BalAccountExpectation (
@@ -111,7 +111,7 @@ def test_bal_invalid_nonce_value(
111
111
blocks = [
112
112
Block (
113
113
txs = [tx ],
114
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
114
+ exception = BlockException .INVALID_BLOCK_ACCESS_LIST ,
115
115
expected_block_access_list = BlockAccessListExpectation (
116
116
account_expectations = {
117
117
sender : BalAccountExpectation (
@@ -155,7 +155,7 @@ def test_bal_invalid_storage_value(
155
155
blocks = [
156
156
Block (
157
157
txs = [tx ],
158
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
158
+ exception = BlockException .INVALID_BLOCK_ACCESS_LIST ,
159
159
expected_block_access_list = BlockAccessListExpectation (
160
160
account_expectations = {
161
161
contract : BalAccountExpectation (
@@ -219,7 +219,7 @@ def test_bal_invalid_tx_order(
219
219
blocks = [
220
220
Block (
221
221
txs = [tx1 , tx2 ],
222
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
222
+ exception = BlockException .INVALID_BLOCK_ACCESS_LIST ,
223
223
expected_block_access_list = BlockAccessListExpectation (
224
224
account_expectations = {
225
225
sender1 : BalAccountExpectation (
@@ -269,7 +269,7 @@ def test_bal_invalid_account(
269
269
blocks = [
270
270
Block (
271
271
txs = [tx ],
272
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
272
+ exception = BlockException .INVALID_BAL_EXTRA_ACCOUNT ,
273
273
expected_block_access_list = BlockAccessListExpectation (
274
274
account_expectations = {
275
275
sender : BalAccountExpectation (
@@ -412,7 +412,7 @@ def test_bal_invalid_complex_corruption(
412
412
blocks = [
413
413
Block (
414
414
txs = [tx1 , tx2 ],
415
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
415
+ exception = BlockException .INVALID_BLOCK_ACCESS_LIST ,
416
416
expected_block_access_list = BlockAccessListExpectation (
417
417
account_expectations = {
418
418
sender : BalAccountExpectation (
@@ -474,7 +474,7 @@ def test_bal_invalid_missing_account(
474
474
blocks = [
475
475
Block (
476
476
txs = [tx ],
477
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
477
+ exception = BlockException .INVALID_BAL_MISSING_ACCOUNT ,
478
478
expected_block_access_list = BlockAccessListExpectation (
479
479
account_expectations = {
480
480
sender : BalAccountExpectation (
@@ -516,7 +516,7 @@ def test_bal_invalid_balance_value(
516
516
blocks = [
517
517
Block (
518
518
txs = [tx ],
519
- exception = BlockException .INCORRECT_BLOCK_FORMAT ,
519
+ exception = BlockException .INVALID_BLOCK_ACCESS_LIST ,
520
520
expected_block_access_list = BlockAccessListExpectation (
521
521
account_expectations = {
522
522
receiver : BalAccountExpectation (
0 commit comments