-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mainnet spell 2025-02-21 #454
Merged
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cf5558d
cleanup
SidestreamStrongStrawberry 10ff5c4
add spell content
SidestreamStrongStrawberry 6f564ab
chore: remove prev spell
SidestreamStrongStrawberry d43e5d3
feat: add unwind SBE
SidestreamStrongStrawberry 3c17fba
fix test
SidestreamStrongStrawberry 1dfdcb2
feat: improve test
SidestreamStrongStrawberry 1b5cfa4
fix typos and empty space
SidestreamStrongStrawberry 4e2dd97
feat: add SBE Parameter Changes
SidestreamStrongStrawberry 26d405a
use usdsjoin
SidestreamStrongStrawberry 3efcee4
add new chainlog key test
SidestreamStrongStrawberry fc700a2
update content header and forum link
SidestreamStrongStrawberry 5345032
separate test add/update chainlog key functions
SidestreamStrongStrawberry 7393890
remove unused interface/function in interface
SidestreamStrongStrawberry 786ce52
add exec doc hash
SidestreamStrongStrawberry aa50c11
update exec doc hash
SidestreamStrongStrawberry 1eb17d1
add deployed spell info
SidestreamStrongStrawberry b2052d7
archive spell
SidestreamStrongStrawberry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/dependencies/arbitrum-token-bridge/L1TokenGatewayInstance.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// SPDX-FileCopyrightText: © 2024 Dai Foundation <www.daifoundation.org> | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pragma solidity >=0.8.0; | ||
|
||
struct L1TokenGatewayInstance { | ||
address gateway; | ||
address gatewayImp; | ||
} |
23 changes: 23 additions & 0 deletions
23
src/dependencies/arbitrum-token-bridge/L2TokenGatewayInstance.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// SPDX-FileCopyrightText: © 2024 Dai Foundation <www.daifoundation.org> | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pragma solidity >=0.8.0; | ||
|
||
struct L2TokenGatewayInstance { | ||
address gateway; | ||
address gatewayImp; | ||
address spell; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: I've increased gas limit for the tests due to the error arising from
testArbitrumTokenGatewayIntegration
function. More specifically, the error EvmError: MemoryOOG is thrown byarbitrumDomain.relayFromHost(false)
line in the test, when this env variable is not present. ChosenFOUNDRY_GAS_LIMIT
value is arbitrary and is simply twice bigger than the default value specified in the foundry docs. This adjustment should not affect execution of the spell on the mainnet.