Skip to content

Commit

Permalink
fix(dataworker): Add ETH to list of tokens we should request balance …
Browse files Browse the repository at this point in the history
…allocations for (#788)

When executing OVM SpokePool leaves we need to request both ETH and WETH balances together
  • Loading branch information
nicholaspai committed Jul 5, 2023
1 parent 7cbf9be commit a963dd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/common/ContractAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ export const CONTRACT_ADDRESSES: {
},
],
},
eth: {
address: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
},
},
137: {
withdrawableErc20: {
Expand Down
2 changes: 1 addition & 1 deletion src/dataworker/Dataworker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type RootBundle = {
tree: MerkleTree<SlowFillLeaf>;
};

const ovmWethTokens = [CONTRACT_ADDRESSES[10].weth.address];
const ovmWethTokens = [CONTRACT_ADDRESSES[10].weth.address, CONTRACT_ADDRESSES[10].eth.address];

export type PoolRebalanceRoot = {
runningBalances: RunningBalances;
Expand Down

0 comments on commit a963dd0

Please sign in to comment.