Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@across-protocol/contracts",
"version": "4.1.10",
"version": "4.1.11",
"author": "UMA Team",
"license": "AGPL-3.0-only",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ describe("Optimism Spoke Pool", function () {
});

it("Only cross domain owner can set l1GasLimit", async function () {
await expect(optimismSpokePool.setL1GasLimit(1337)).to.be.reverted;
await expect(optimismSpokePool.setL1GasLimit(1342)).to.be.reverted;
crossDomainMessenger.xDomainMessageSender.returns(owner.address);
await optimismSpokePool.connect(crossDomainMessenger.wallet).setL1GasLimit(1337);
expect(await optimismSpokePool.l1Gas()).to.equal(1337);
await optimismSpokePool.connect(crossDomainMessenger.wallet).setL1GasLimit(1342);
expect(await optimismSpokePool.l1Gas()).to.equal(1342);
});

it("Only cross domain owner can set token bridge address for L2 token", async function () {
Expand Down
2 changes: 1 addition & 1 deletion test/evm/hardhat/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const amountToRelayPreModifiedFees = toBN(amountToRelay).mul(toBN(oneHund

export const amountToRelayPreLPFee = amountToRelayPreFees.mul(oneHundredPct.sub(realizedLpFeePct)).div(oneHundredPct);

export const destinationChainId = 1337; // Should be equal to MockSpokePool.chainId() return value.
export const destinationChainId = 1342; // Should be equal to MockSpokePool.chainId() return value.

export const originChainId = 666;

Expand Down
Loading