Skip to content

Commit 44409b5

Browse files
marioevzfjl
authored andcommitted
simulators/ethereum/engine: fix gaslimit everywhere
1 parent 0426639 commit 44409b5

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

simulators/ethereum/engine/suites/engine/tests.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,7 @@ func invalidTransitionPayload(t *test.Env) {
16621662
Amount: big1,
16631663
Payload: nil,
16641664
TxType: t.TestTransactionType,
1665+
GasLimit: 75000,
16651666
},
16661667
)
16671668
if err != nil {
@@ -1729,6 +1730,7 @@ func invalidPayloadTestCaseGen(payloadField helper.InvalidPayloadBlockField, syn
17291730
Amount: big1,
17301731
Payload: nil,
17311732
TxType: t.TestTransactionType,
1733+
GasLimit: 75000,
17321734
},
17331735
)
17341736
if err != nil {
@@ -1961,6 +1963,7 @@ func invalidMissingAncestorReOrgGen(invalid_index int, payloadField helper.Inval
19611963
Amount: big1,
19621964
Payload: nil,
19631965
TxType: t.TestTransactionType,
1966+
GasLimit: 75000,
19641967
},
19651968
)
19661969
if err != nil {
@@ -2172,6 +2175,7 @@ func (spec InvalidMissingAncestorReOrgSpec) GenerateSync() func(*test.Env) {
21722175
Amount: big1,
21732176
Payload: nil,
21742177
TxType: t.TestTransactionType,
2178+
GasLimit: 75000,
21752179
},
21762180
)
21772181
if err != nil {
@@ -2420,6 +2424,7 @@ func blockStatusExecPayloadGen(transitionBlock bool) func(t *test.Env) {
24202424
Amount: big1,
24212425
Payload: nil,
24222426
TxType: t.TestTransactionType,
2427+
GasLimit: 75000,
24232428
},
24242429
)
24252430
if err != nil {
@@ -2468,6 +2473,7 @@ func blockStatusHeadBlockGen(transitionBlock bool) func(t *test.Env) {
24682473
Amount: big1,
24692474
Payload: nil,
24702475
TxType: t.TestTransactionType,
2476+
GasLimit: 75000,
24712477
},
24722478
)
24732479
if err != nil {
@@ -2877,6 +2883,7 @@ func transactionReorg(t *test.Env) {
28772883
Amount: big0,
28782884
Payload: data,
28792885
TxType: t.TestTransactionType,
2886+
GasLimit: 75000,
28802887
},
28812888
)
28822889
if err != nil {
@@ -2985,6 +2992,7 @@ func transactionReorgBlockhash(newNPOnRevert bool) func(t *test.Env) {
29852992
Amount: big0,
29862993
Payload: data,
29872994
TxType: t.TestTransactionType,
2995+
GasLimit: 75000,
29882996
},
29892997
)
29902998
if err != nil {
@@ -3090,6 +3098,7 @@ func sidechainReorg(t *test.Env) {
30903098
Amount: big0,
30913099
Payload: nil,
30923100
TxType: t.TestTransactionType,
3101+
GasLimit: 75000,
30933102
},
30943103
)
30953104
if err != nil {
@@ -3237,6 +3246,7 @@ func inOrderPayloads(t *test.Env) {
32373246
Amount: amountPerTx,
32383247
Payload: nil,
32393248
TxType: t.TestTransactionType,
3249+
GasLimit: 75000,
32403250
},
32413251
)
32423252
if err != nil {
@@ -3569,6 +3579,7 @@ func suggestedFeeRecipient(t *test.Env) {
35693579
Amount: big0,
35703580
Payload: nil,
35713581
TxType: t.TestTransactionType,
3582+
GasLimit: 75000,
35723583
},
35733584
)
35743585
if err != nil {
@@ -3638,6 +3649,7 @@ func prevRandaoOpcodeTx(t *test.Env) {
36383649
Amount: big0,
36393650
Payload: nil,
36403651
TxType: t.TestTransactionType,
3652+
GasLimit: 75000,
36413653
},
36423654
)
36433655
if err != nil {
@@ -3690,6 +3702,7 @@ func prevRandaoOpcodeTx(t *test.Env) {
36903702
Amount: big0,
36913703
Payload: nil,
36923704
TxType: t.TestTransactionType,
3705+
GasLimit: 75000,
36933706
},
36943707
)
36953708
if err != nil {

simulators/ethereum/engine/suites/transition/tests.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,7 @@ func GenerateMergeTestSpec(mergeTestSpec MergeTestSpec) test.Spec {
10331033
Amount: common.Big0,
10341034
Payload: nil,
10351035
TxType: t.TestTransactionType,
1036+
GasLimit: 75000,
10361037
},
10371038
)
10381039
if err != nil {

simulators/ethereum/engine/suites/withdrawals/tests.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ func (ws *WithdrawalsBaseSpec) Execute(t *test.Env) {
796796
Amount: common.Big1,
797797
Payload: nil,
798798
TxType: t.TestTransactionType,
799+
GasLimit: 75000,
799800
},
800801
)
801802
if err != nil {
@@ -1060,6 +1061,7 @@ func (ws *WithdrawalsReorgSpec) Execute(t *test.Env) {
10601061
Amount: common.Big1,
10611062
Payload: nil,
10621063
TxType: t.TestTransactionType,
1064+
GasLimit: 75000,
10631065
},
10641066
)
10651067
if err != nil {

0 commit comments

Comments
 (0)