Skip to content

Commit

Permalink
fix: switch to LegacyBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
paologalligit committed Dec 5, 2024
1 parent 83a70fe commit 53b49f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/transactions/transactions_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func createOneClausePerTx(signerPK *ecdsa.PrivateKey, thorChain *testchain.Chain
for gasUsed < 9_500_000 {
toAddr := datagen.RandAddress()
cla := tx.NewClause(&toAddr).WithValue(big.NewInt(10000))
transaction := new(tx.Builder).
transaction := new(tx.LegacyBuilder).
ChainTag(thorChain.Repo().ChainTag()).
GasPriceCoef(1).
Expiration(math.MaxUint32 - 1).
Expand All @@ -260,7 +260,7 @@ func createManyClausesPerTx(signerPK *ecdsa.PrivateKey, thorChain *testchain.Cha
gasUsed := uint64(0)
txGas := uint64(42_000)

transactionBuilder := new(tx.Builder).
transactionBuilder := new(tx.LegacyBuilder).
ChainTag(thorChain.Repo().ChainTag()).
GasPriceCoef(1).
Expiration(math.MaxUint32 - 1).
Expand Down

0 comments on commit 53b49f1

Please sign in to comment.