Skip to content

Commit

Permalink
fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcontracts committed May 25, 2021
1 parent f0519ad commit e891f8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/message-relayer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@eth-optimism/core-utils": "^0.4.3",
"bcfg": "^0.1.6",
"dotenv": "^8.2.0",
"ethers": "^5.1.0",
"ethers": "^5.2.0",
"google-spreadsheet": "^3.1.15",
"merkletreejs": "^0.2.18",
"rlp": "^2.2.6"
Expand All @@ -49,7 +49,6 @@
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.2.0",
"hardhat": "^2.3.0",
"mocha": "^8.4.0",
"prettier": "^2.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/message-relayer/src/relay-tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
toHexString,
toRpcHexString,
} from '@eth-optimism/core-utils'
import { getContractInterface } from '@eth-optimism/contracts'
import { getContractInterface, predeploys } from '@eth-optimism/contracts'
import * as rlp from 'rlp'
import { MerkleTree } from 'merkletreejs'

Expand Down Expand Up @@ -293,7 +293,7 @@ export const makeRelayTransactionData = async (
const stateTrieProof = await getStateTrieProof(
l2RpcProvider,
l2Transaction.blockNumber + NUM_L2_GENESIS_BLOCKS,
l2CrossDomainMessengerAddress,
predeploys.OVM_L2ToL1MessagePasser,
messageSlot
)

Expand Down
3 changes: 1 addition & 2 deletions packages/message-relayer/test/unit-tests/relay-tx.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import { ethers } from 'ethers'
import { makeRelayTransactionData } from '../../src/relay-tx'

describe('relay transaction generation functions', () => {
describe('makeRelayTransactionData', () => {
})
describe('makeRelayTransactionData', () => {})
})

0 comments on commit e891f8a

Please sign in to comment.