|
5 | 5 |
|
6 | 6 | "github.com/ethereum/go-ethereum/params"
|
7 | 7 |
|
8 |
| - "github.com/offchainlabs/nitro/solgen/go/gasdimensionsgen" |
| 8 | + "github.com/offchainlabs/nitro/solgen/go/gas_dimensionsgen" |
9 | 9 | )
|
10 | 10 |
|
11 | 11 | const (
|
@@ -50,7 +50,7 @@ func TestDimLogLog0TopicsOnlyMemUnchanged(t *testing.T) {
|
50 | 50 | defer cancel()
|
51 | 51 | defer cleanup()
|
52 | 52 |
|
53 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 53 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
54 | 54 | _, receipt := callOnContract(t, builder, auth, contract.EmitZeroTopicEmptyData)
|
55 | 55 |
|
56 | 56 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -83,7 +83,7 @@ func TestDimLogLog0ExtraDataMemUnchanged(t *testing.T) {
|
83 | 83 | defer cancel()
|
84 | 84 | defer cleanup()
|
85 | 85 |
|
86 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 86 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
87 | 87 | _, receipt := callOnContract(t, builder, auth, contract.EmitZeroTopicNonEmptyData)
|
88 | 88 |
|
89 | 89 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -120,7 +120,7 @@ func TestDimLogLog1TopicsOnlyMemUnchanged(t *testing.T) {
|
120 | 120 | defer cancel()
|
121 | 121 | defer cleanup()
|
122 | 122 |
|
123 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 123 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
124 | 124 | _, receipt := callOnContract(t, builder, auth, contract.EmitOneTopicEmptyData)
|
125 | 125 |
|
126 | 126 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -156,7 +156,7 @@ func TestDimLogLog1ExtraDataMemUnchanged(t *testing.T) {
|
156 | 156 | defer cancel()
|
157 | 157 | defer cleanup()
|
158 | 158 |
|
159 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 159 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
160 | 160 | _, receipt := callOnContract(t, builder, auth, contract.EmitOneTopicNonEmptyData)
|
161 | 161 |
|
162 | 162 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -192,7 +192,7 @@ func TestDimLogLog2TopicsOnlyMemUnchanged(t *testing.T) {
|
192 | 192 | defer cancel()
|
193 | 193 | defer cleanup()
|
194 | 194 |
|
195 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 195 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
196 | 196 | _, receipt := callOnContract(t, builder, auth, contract.EmitTwoTopics)
|
197 | 197 |
|
198 | 198 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -230,7 +230,7 @@ func TestDimLogLog2ExtraDataMemUnchanged(t *testing.T) {
|
230 | 230 | defer cancel()
|
231 | 231 | defer cleanup()
|
232 | 232 |
|
233 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 233 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
234 | 234 | _, receipt := callOnContract(t, builder, auth, contract.EmitTwoTopicsExtraData)
|
235 | 235 |
|
236 | 236 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -266,7 +266,7 @@ func TestDimLogLog3TopicsOnlyMemUnchanged(t *testing.T) {
|
266 | 266 | defer cancel()
|
267 | 267 | defer cleanup()
|
268 | 268 |
|
269 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 269 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
270 | 270 | _, receipt := callOnContract(t, builder, auth, contract.EmitThreeTopics)
|
271 | 271 |
|
272 | 272 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -304,7 +304,7 @@ func TestDimLogLog3ExtraDataMemUnchanged(t *testing.T) {
|
304 | 304 | defer cancel()
|
305 | 305 | defer cleanup()
|
306 | 306 |
|
307 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 307 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
308 | 308 | _, receipt := callOnContract(t, builder, auth, contract.EmitThreeTopicsExtraData)
|
309 | 309 |
|
310 | 310 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -340,7 +340,7 @@ func TestDimLogLog4TopicsOnlyMemUnchanged(t *testing.T) {
|
340 | 340 | defer cancel()
|
341 | 341 | defer cleanup()
|
342 | 342 |
|
343 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 343 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
344 | 344 | _, receipt := callOnContract(t, builder, auth, contract.EmitFourTopics)
|
345 | 345 |
|
346 | 346 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -378,7 +378,7 @@ func TestDimLogLog4ExtraDataMemUnchanged(t *testing.T) {
|
378 | 378 | defer cancel()
|
379 | 379 | defer cleanup()
|
380 | 380 |
|
381 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 381 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
382 | 382 | _, receipt := callOnContract(t, builder, auth, contract.EmitFourTopicsExtraData)
|
383 | 383 |
|
384 | 384 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -435,7 +435,7 @@ func TestDimLogLog0ExtraDataMemExpansion(t *testing.T) {
|
435 | 435 | defer cancel()
|
436 | 436 | defer cleanup()
|
437 | 437 |
|
438 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 438 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
439 | 439 | _, receipt := callOnContract(t, builder, auth, contract.EmitZeroTopicNonEmptyDataAndMemExpansion)
|
440 | 440 |
|
441 | 441 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -475,7 +475,7 @@ func TestDimLogLog1ExtraDataMemExpansion(t *testing.T) {
|
475 | 475 | defer cancel()
|
476 | 476 | defer cleanup()
|
477 | 477 |
|
478 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 478 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
479 | 479 | _, receipt := callOnContract(t, builder, auth, contract.EmitOneTopicNonEmptyDataAndMemExpansion)
|
480 | 480 |
|
481 | 481 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -516,7 +516,7 @@ func TestDimLogLog2ExtraDataMemExpansion(t *testing.T) {
|
516 | 516 | defer cancel()
|
517 | 517 | defer cleanup()
|
518 | 518 |
|
519 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 519 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
520 | 520 | _, receipt := callOnContract(t, builder, auth, contract.EmitTwoTopicsExtraDataAndMemExpansion)
|
521 | 521 |
|
522 | 522 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -557,7 +557,7 @@ func TestDimLogLog3ExtraDataMemExpansion(t *testing.T) {
|
557 | 557 | defer cancel()
|
558 | 558 | defer cleanup()
|
559 | 559 |
|
560 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 560 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
561 | 561 | _, receipt := callOnContract(t, builder, auth, contract.EmitThreeTopicsExtraDataAndMemExpansion)
|
562 | 562 |
|
563 | 563 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
@@ -598,7 +598,7 @@ func TestDimLogLog4ExtraDataMemExpansion(t *testing.T) {
|
598 | 598 | defer cancel()
|
599 | 599 | defer cleanup()
|
600 | 600 |
|
601 |
| - _, contract := deployGasDimensionTestContract(t, builder, auth, gasdimensionsgen.DeployLogEmitter) |
| 601 | + _, contract := deployGasDimensionTestContract(t, builder, auth, gas_dimensionsgen.DeployLogEmitter) |
602 | 602 | _, receipt := callOnContract(t, builder, auth, contract.EmitFourTopicsExtraDataAndMemExpansion)
|
603 | 603 |
|
604 | 604 | traceResult := callDebugTraceTransactionWithLogger(t, ctx, builder, receipt.TxHash)
|
|
0 commit comments