Skip to content

Commit

Permalink
Remove SourceHash which was being calculated incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton committed Feb 24, 2023
1 parent c2a8bc3 commit 51a1208
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions op-e2e/op_geth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func TestInvalidDepositInFCU(t *testing.T) {
require.Equal(t, 0, balance.Cmp(common.Big0))

badDepositTx := types.NewTx(&types.DepositTx{
SourceHash: opGeth.L1Head.Hash(),
From: fromAddr,
To: &fromAddr, // send it to ourselves
Value: big.NewInt(params.Ether),
Expand Down Expand Up @@ -103,7 +102,6 @@ func TestBedrockDepositTx(t *testing.T) {

// Deposit TX with a higher gas limit than required
depositTx := types.NewTx(&types.DepositTx{
SourceHash: opGeth.L1Head.Hash(),
From: aliceAddr,
To: &aliceAddr,
Value: big.NewInt(0),
Expand All @@ -113,7 +111,6 @@ func TestBedrockDepositTx(t *testing.T) {

// Contract creation deposit tx
contractCreateTx := types.NewTx(&types.DepositTx{
SourceHash: opGeth.L1Head.Hash(),
From: aliceAddr,
Value: big.NewInt(params.Ether),
Gas: 1000001,
Expand Down Expand Up @@ -158,7 +155,6 @@ func TestBedrockShouldNotRefundDepositTxUnusedGas(t *testing.T) {

// Deposit TX with a higher gas limit than required
depositTx := types.NewTx(&types.DepositTx{
SourceHash: opGeth.L1Head.Hash(),
From: aliceAddr,
To: &aliceAddr,
Value: big.NewInt(0),
Expand Down

0 comments on commit 51a1208

Please sign in to comment.