Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
e157d082
Unverified
Commit
e157d082
authored
Aug 17, 2023
by
mergify[bot]
Committed by
GitHub
Aug 17, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into clabby/op-chain-ops/deploy-config-updates
parents
066ad428
5352cfb8
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
300 additions
and
122 deletions
+300
-122
config.yml
.circleci/config.yml
+0
-11
mergify.yml
.github/mergify.yml
+133
-30
Dockerfile
indexer/Dockerfile
+1
-1
caller.go
op-challenger/fault/caller.go
+4
-18
monitor.go
op-challenger/fault/monitor.go
+4
-3
monitor_test.go
op-challenger/fault/monitor_test.go
+4
-8
types.go
op-challenger/fault/types/types.go
+14
-0
main.py
ops/check-changed/main.py
+5
-1
OptimismMintableERC20Factory.json
...rock/deployments/goerli/OptimismMintableERC20Factory.json
+126
-32
Multichain.s.sol
packages/contracts-bedrock/scripts/upgrades/Multichain.s.sol
+9
-3
validate-deploy-configs.sh
...ages/contracts-bedrock/scripts/validate-deploy-configs.sh
+0
-15
No files found.
.circleci/config.yml
View file @
e157d082
...
@@ -397,13 +397,6 @@ jobs:
...
@@ -397,13 +397,6 @@ jobs:
FOUNDRY_PROFILE
:
ci
FOUNDRY_PROFILE
:
ci
working_directory
:
packages/contracts-bedrock
working_directory
:
packages/contracts-bedrock
no_output_timeout
:
15m
no_output_timeout
:
15m
-
run
:
name
:
validate deploy configs
command
:
|
pnpm validate-deploy-configs || echo "export DEPLOY_CONFIG_STATUS=1" >> "$BASH_ENV"
environment
:
FOUNDRY_PROFILE
:
ci
working_directory
:
packages/contracts-bedrock
-
run
:
-
run
:
name
:
storage snapshot
name
:
storage snapshot
command
:
|
command
:
|
...
@@ -433,10 +426,6 @@ jobs:
...
@@ -433,10 +426,6 @@ jobs:
FAILED=1
FAILED=1
echo "Gas snapshot failed, see job output for details."
echo "Gas snapshot failed, see job output for details."
fi
fi
if [[ "$DEPLOY_CONFIG_STATUS" -ne 0 ]]; then
FAILED=1
echo "Deploy configs invalid, see job output for details."
fi
if [[ "$STORAGE_SNAPSHOT_STATUS" -ne 0 ]]; then
if [[ "$STORAGE_SNAPSHOT_STATUS" -ne 0 ]]; then
echo "Storage snapshot failed, see job output for details."
echo "Storage snapshot failed, see job output for details."
FAILED=1
FAILED=1
...
...
.github/mergify.yml
View file @
e157d082
...
@@ -74,9 +74,17 @@ pull_request_rules:
...
@@ -74,9 +74,17 @@ pull_request_rules:
More details can be found on the `Queue: Embarked in merge train`
More details can be found on the `Queue: Embarked in merge train`
check-run.
check-run.
-
name
:
Add A-cannon label
conditions
:
-
'
files~=^cannon/'
actions
:
label
:
add
:
-
A-cannon
-
name
:
Add A-indexer label and ecopod reviewers
-
name
:
Add A-indexer label and ecopod reviewers
conditions
:
conditions
:
-
'
files~=^indexer/'
-
'
files~=^indexer/'
-
'
#label<5'
actions
:
actions
:
label
:
label
:
add
:
add
:
...
@@ -84,47 +92,81 @@ pull_request_rules:
...
@@ -84,47 +92,81 @@ pull_request_rules:
request_reviews
:
request_reviews
:
users
:
users
:
-
roninjin10
-
roninjin10
-
name
:
Add A-
pkg-sdk label and ecopod reviewers
-
name
:
Add A-
op-batcher label
conditions
:
conditions
:
-
'
files~=^
packages/sdk
/'
-
'
files~=^
op-batcher
/'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-pkg-sdk
-
A-op-batcher
request_reviews
:
-
name
:
Add A-op-bindings label
users
:
-
roninjin10
-
name
:
Add A-pkg-common-ts label and ecopod reviewers
conditions
:
conditions
:
-
'
files~=^
packages/common-t
s/'
-
'
files~=^
op-binding
s/'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-pkg-common-ts
-
A-op-bindings
request_reviews
:
-
name
:
Add A-op-bootnode label
users
:
-
roninjin10
-
name
:
Add A-op-node label
conditions
:
conditions
:
-
'
files~=^op-node/'
-
'
files~=^op-bootnode/'
-
'
#label<5'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-op-node
-
A-op-
boot
node
-
name
:
Add A-op-
batcher
label
-
name
:
Add A-op-
chain-ops
label
conditions
:
conditions
:
-
'
files~=^op-
batcher
/'
-
'
files~=^op-
chain-ops
/'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-op-
batcher
-
A-op-
chain-ops
-
name
:
Add A-
cannon
label
-
name
:
Add A-
op-challenger
label
conditions
:
conditions
:
-
'
files~=^
cannon
/'
-
'
files~=^
op-challenger
/'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-cannon
-
A-op-challenger
-
name
:
Add A-op-e2e label
conditions
:
-
'
files~=^op-e2e/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-e2e
-
name
:
Add A-op-exporter label
conditions
:
-
'
files~=^op-exporter/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-exporter
-
name
:
Add A-op-heartbeat label
conditions
:
-
'
files~=^op-heartbeat/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-heartbeat
-
name
:
Add A-op-node label
conditions
:
-
'
files~=^op-node/'
actions
:
label
:
add
:
-
A-op-node
-
name
:
Add A-op-preimage label
conditions
:
-
'
files~=^op-preimage/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-preimage
-
name
:
Add A-op-program label
-
name
:
Add A-op-program label
conditions
:
conditions
:
-
'
files~=^op-program/'
-
'
files~=^op-program/'
...
@@ -132,13 +174,75 @@ pull_request_rules:
...
@@ -132,13 +174,75 @@ pull_request_rules:
label
:
label
:
add
:
add
:
-
A-op-program
-
A-op-program
-
name
:
Add A-op-
challeng
er label
-
name
:
Add A-op-
propos
er label
conditions
:
conditions
:
-
'
files~=^op-
challeng
er/'
-
'
files~=^op-
propos
er/'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-op-challenger
-
A-op-proposer
-
name
:
Add A-op-service label
conditions
:
-
'
files~=^op-service/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-service
-
name
:
Add A-op-signer label
conditions
:
-
'
files~=^op-signer/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-signer
-
name
:
Add A-op-wheel label
conditions
:
-
'
files~=^op-wheel/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-op-wheel
-
name
:
Add A-ops-bedrock label
conditions
:
-
'
files~=^ops-bedrock/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-ops-bedrock
-
name
:
Add A-ops label
conditions
:
-
'
files~=^ops/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-ops
-
name
:
Add A-pkg-sdk label and ecopod reviewers
conditions
:
-
'
files~=^packages/sdk/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-pkg-sdk
request_reviews
:
users
:
-
roninjin10
-
name
:
Add A-pkg-common-ts label and ecopod reviewers
conditions
:
-
'
files~=^packages/common-ts/'
-
'
#label<5'
actions
:
label
:
add
:
-
A-pkg-common-ts
request_reviews
:
users
:
-
roninjin10
-
name
:
Add A-pkg-contracts-bedrock label
-
name
:
Add A-pkg-contracts-bedrock label
conditions
:
conditions
:
-
'
files~=^packages/contracts-bedrock/'
-
'
files~=^packages/contracts-bedrock/'
...
@@ -148,12 +252,12 @@ pull_request_rules:
...
@@ -148,12 +252,12 @@ pull_request_rules:
-
A-pkg-contracts-bedrock
-
A-pkg-contracts-bedrock
-
name
:
Add M-docs label
-
name
:
Add M-docs label
conditions
:
conditions
:
-
'
files~=^
technical-documents
/'
-
'
files~=^
(technical-documents|specs)\
/'
-
'
files~=^specs/
'
-
'
#label<5
'
actions
:
actions
:
label
:
label
:
add
:
add
:
-
A-pkg-contracts-bedrock
-
M-docs
-
name
:
Add M-deletion label when files are removed
-
name
:
Add M-deletion label when files are removed
conditions
:
conditions
:
-
'
removed-files~=^/'
-
'
removed-files~=^/'
...
@@ -163,9 +267,8 @@ pull_request_rules:
...
@@ -163,9 +267,8 @@ pull_request_rules:
-
M-deletion
-
M-deletion
-
name
:
Add M-ci label when ci files are modified
-
name
:
Add M-ci label when ci files are modified
conditions
:
conditions
:
-
'
files~=^.github/'
-
'
files~=^\.(github|circleci|husky)\/'
-
'
files~=^.circleci/'
-
'
#label<5'
-
'
files~=^.husky/'
actions
:
actions
:
label
:
label
:
add
:
add
:
...
...
indexer/Dockerfile
View file @
e157d082
...
@@ -22,4 +22,4 @@ FROM alpine:3.16
...
@@ -22,4 +22,4 @@ FROM alpine:3.16
COPY
--from=builder /app/indexer/indexer /usr/local/bin
COPY
--from=builder /app/indexer/indexer /usr/local/bin
CMD
["indexer"]
CMD
["indexer"
, "--config", "/app/indexer/indexer.toml"
]
op-challenger/fault/caller.go
View file @
e157d082
...
@@ -4,13 +4,13 @@ import (
...
@@ -4,13 +4,13 @@ import (
"context"
"context"
"math/big"
"math/big"
"github.com/ethereum-optimism/optimism/op-bindings/bindings"
"github.com/ethereum-optimism/optimism/op-challenger/fault/types"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum-optimism/optimism/op-bindings/bindings"
"github.com/ethereum-optimism/optimism/op-challenger/fault/types"
)
)
type
FaultDisputeGameCaller
interface
{
type
FaultDisputeGameCaller
interface
{
...
@@ -53,7 +53,7 @@ func (fc *FaultCaller) LogGameInfo(ctx context.Context) {
...
@@ -53,7 +53,7 @@ func (fc *FaultCaller) LogGameInfo(ctx context.Context) {
fc
.
log
.
Error
(
"failed to get claim count"
,
"err"
,
err
)
fc
.
log
.
Error
(
"failed to get claim count"
,
"err"
,
err
)
return
return
}
}
fc
.
log
.
Info
(
"Game info"
,
"claims"
,
claimLen
,
"status"
,
GameStatusString
(
status
)
)
fc
.
log
.
Info
(
"Game info"
,
"claims"
,
claimLen
,
"status"
,
status
)
}
}
// GetGameStatus returns the current game status.
// GetGameStatus returns the current game status.
...
@@ -78,17 +78,3 @@ func (fc *FaultCaller) LogClaimDataLength(ctx context.Context) {
...
@@ -78,17 +78,3 @@ func (fc *FaultCaller) LogClaimDataLength(ctx context.Context) {
}
}
fc
.
log
.
Info
(
"Number of claims"
,
"length"
,
claimLen
)
fc
.
log
.
Info
(
"Number of claims"
,
"length"
,
claimLen
)
}
}
// GameStatusString returns the current game status as a string.
func
GameStatusString
(
status
types
.
GameStatus
)
string
{
switch
status
{
case
types
.
GameStatusInProgress
:
return
"In Progress"
case
types
.
GameStatusChallengerWon
:
return
"Challenger Won"
case
types
.
GameStatusDefenderWon
:
return
"Defender Won"
default
:
return
"Unknown"
}
}
op-challenger/fault/monitor.go
View file @
e157d082
...
@@ -4,8 +4,9 @@ import (
...
@@ -4,8 +4,9 @@ import (
"context"
"context"
"time"
"time"
"github.com/ethereum-optimism/optimism/op-challenger/fault/types"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum-optimism/optimism/op-challenger/fault/types"
)
)
type
GameInfo
interface
{
type
GameInfo
interface
{
...
@@ -51,9 +52,9 @@ func progressGame(ctx context.Context, logger log.Logger, agreeWithProposedOutpu
...
@@ -51,9 +52,9 @@ func progressGame(ctx context.Context, logger log.Logger, agreeWithProposedOutpu
expectedStatus
=
types
.
GameStatusDefenderWon
expectedStatus
=
types
.
GameStatusDefenderWon
}
}
if
expectedStatus
==
status
{
if
expectedStatus
==
status
{
logger
.
Info
(
"Game won"
,
"status"
,
GameStatusString
(
status
)
)
logger
.
Info
(
"Game won"
,
"status"
,
status
)
}
else
{
}
else
{
logger
.
Error
(
"Game lost"
,
"status"
,
GameStatusString
(
status
)
)
logger
.
Error
(
"Game lost"
,
"status"
,
status
)
}
}
return
true
return
true
}
else
{
}
else
{
...
...
op-challenger/fault/monitor_test.go
View file @
e157d082
...
@@ -5,10 +5,11 @@ import (
...
@@ -5,10 +5,11 @@ import (
"errors"
"errors"
"testing"
"testing"
"github.com/ethereum-optimism/optimism/op-challenger/fault/types"
"github.com/ethereum-optimism/optimism/op-node/testlog"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
"github.com/ethereum-optimism/optimism/op-challenger/fault/types"
"github.com/ethereum-optimism/optimism/op-node/testlog"
)
)
func
TestMonitorExitsWhenContextDone
(
t
*
testing
.
T
)
{
func
TestMonitorExitsWhenContextDone
(
t
*
testing
.
T
)
{
...
@@ -48,7 +49,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
...
@@ -48,7 +49,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
agreeWithOutput
bool
agreeWithOutput
bool
logLevel
log
.
Lvl
logLevel
log
.
Lvl
logMsg
string
logMsg
string
statusText
string
}{
}{
{
{
name
:
"GameLostAsDefender"
,
name
:
"GameLostAsDefender"
,
...
@@ -56,7 +56,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
...
@@ -56,7 +56,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
agreeWithOutput
:
false
,
agreeWithOutput
:
false
,
logLevel
:
log
.
LvlError
,
logLevel
:
log
.
LvlError
,
logMsg
:
"Game lost"
,
logMsg
:
"Game lost"
,
statusText
:
"Challenger Won"
,
},
},
{
{
name
:
"GameLostAsChallenger"
,
name
:
"GameLostAsChallenger"
,
...
@@ -64,7 +63,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
...
@@ -64,7 +63,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
agreeWithOutput
:
true
,
agreeWithOutput
:
true
,
logLevel
:
log
.
LvlError
,
logLevel
:
log
.
LvlError
,
logMsg
:
"Game lost"
,
logMsg
:
"Game lost"
,
statusText
:
"Defender Won"
,
},
},
{
{
name
:
"GameWonAsDefender"
,
name
:
"GameWonAsDefender"
,
...
@@ -72,7 +70,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
...
@@ -72,7 +70,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
agreeWithOutput
:
false
,
agreeWithOutput
:
false
,
logLevel
:
log
.
LvlInfo
,
logLevel
:
log
.
LvlInfo
,
logMsg
:
"Game won"
,
logMsg
:
"Game won"
,
statusText
:
"Defender Won"
,
},
},
{
{
name
:
"GameWonAsChallenger"
,
name
:
"GameWonAsChallenger"
,
...
@@ -80,7 +77,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
...
@@ -80,7 +77,6 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
agreeWithOutput
:
true
,
agreeWithOutput
:
true
,
logLevel
:
log
.
LvlInfo
,
logLevel
:
log
.
LvlInfo
,
logMsg
:
"Game won"
,
logMsg
:
"Game won"
,
statusText
:
"Challenger Won"
,
},
},
}
}
for
_
,
test
:=
range
tests
{
for
_
,
test
:=
range
tests
{
...
@@ -94,7 +90,7 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
...
@@ -94,7 +90,7 @@ func TestProgressGame_LogErrorWhenGameLost(t *testing.T) {
require
.
Equal
(
t
,
0
,
gameInfo
.
logCount
,
"should not log latest game state"
)
require
.
Equal
(
t
,
0
,
gameInfo
.
logCount
,
"should not log latest game state"
)
errLog
:=
handler
.
FindLog
(
test
.
logLevel
,
test
.
logMsg
)
errLog
:=
handler
.
FindLog
(
test
.
logLevel
,
test
.
logMsg
)
require
.
NotNil
(
t
,
errLog
,
"should log game result"
)
require
.
NotNil
(
t
,
errLog
,
"should log game result"
)
require
.
Equal
(
t
,
test
.
status
Text
,
errLog
.
GetContextValue
(
"status"
))
require
.
Equal
(
t
,
test
.
status
,
errLog
.
GetContextValue
(
"status"
))
})
})
}
}
}
}
...
...
op-challenger/fault/types/types.go
View file @
e157d082
...
@@ -20,6 +20,20 @@ const (
...
@@ -20,6 +20,20 @@ const (
GameStatusDefenderWon
GameStatusDefenderWon
)
)
// String returns the string representation of the game status.
func
(
s
GameStatus
)
String
()
string
{
switch
s
{
case
GameStatusInProgress
:
return
"In Progress"
case
GameStatusChallengerWon
:
return
"Challenger Won"
case
GameStatusDefenderWon
:
return
"Defender Won"
default
:
return
"Unknown"
}
}
// PreimageOracleData encapsulates the preimage oracle data
// PreimageOracleData encapsulates the preimage oracle data
// to load into the onchain oracle.
// to load into the onchain oracle.
type
PreimageOracleData
struct
{
type
PreimageOracleData
struct
{
...
...
ops/check-changed/main.py
View file @
e157d082
...
@@ -56,7 +56,11 @@ log = logging.getLogger(__name__)
...
@@ -56,7 +56,11 @@ log = logging.getLogger(__name__)
def
main
():
def
main
():
patterns
=
sys
.
argv
[
1
]
.
split
(
','
)
patterns
=
sys
.
argv
[
1
]
.
split
(
','
)
patterns
=
patterns
+
REBUILD_ALL_PATTERNS
# temporarily only run indexer tests if indexer is changed because the tests are flaky
if
len
(
patterns
)
!=
1
or
patterns
[
0
]
!=
"indexer"
:
patterns
=
patterns
+
REBUILD_ALL_PATTERNS
fp
=
os
.
path
.
realpath
(
__file__
)
fp
=
os
.
path
.
realpath
(
__file__
)
monorepo_path
=
os
.
path
.
realpath
(
os
.
path
.
join
(
fp
,
'..'
,
'..'
))
monorepo_path
=
os
.
path
.
realpath
(
os
.
path
.
join
(
fp
,
'..'
,
'..'
))
...
...
packages/contracts-bedrock/deployments/goerli/OptimismMintableERC20Factory.json
View file @
e157d082
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/scripts/upgrades/Multichain.s.sol
View file @
e157d082
...
@@ -67,7 +67,7 @@ contract Multichain is SafeBuilder {
...
@@ -67,7 +67,7 @@ contract Multichain is SafeBuilder {
/// @notice L2OutputOracle implementation to upgrade to
/// @notice L2OutputOracle implementation to upgrade to
address internal constant L2OutputOracleImplementation = 0xaBd96C062c6B640d5670455E9d1cD98383Dd23CA;
address internal constant L2OutputOracleImplementation = 0xaBd96C062c6B640d5670455E9d1cD98383Dd23CA;
/// @notice OptimismMintableERC20Factory to upgrade to
/// @notice OptimismMintableERC20Factory to upgrade to
address internal constant OptimismMintableERC20FactoryImplementation = 0x
E220F7D7fF39837003A1835fCefFa8bCA4098582
;
address internal constant OptimismMintableERC20FactoryImplementation = 0x
dfe97868233d1aa22e815a266982f2cf17685a27
;
/// @notice OptimismPortal implementation to upgrade to
/// @notice OptimismPortal implementation to upgrade to
address internal constant OptimismPortalImplementation = 0x345D27c7B6C90fef5beA9631037C36119f4bF93e;
address internal constant OptimismPortalImplementation = 0x345D27c7B6C90fef5beA9631037C36119f4bF93e;
/// @notice SystemConfig implementation to upgrade to
/// @notice SystemConfig implementation to upgrade to
...
@@ -82,7 +82,7 @@ contract Multichain is SafeBuilder {
...
@@ -82,7 +82,7 @@ contract Multichain is SafeBuilder {
string internal constant L1CrossDomainMessengerVersion = "1.5.1";
string internal constant L1CrossDomainMessengerVersion = "1.5.1";
string internal constant L1StandardBridgeVersion = "1.2.1";
string internal constant L1StandardBridgeVersion = "1.2.1";
string internal constant L2OutputOracleVersion = "1.4.1";
string internal constant L2OutputOracleVersion = "1.4.1";
string internal constant OptimismMintableERC20FactoryVersion = "1.
1.2
";
string internal constant OptimismMintableERC20FactoryVersion = "1.
3.0
";
string internal constant OptimismPortalVersion = "1.8.1";
string internal constant OptimismPortalVersion = "1.8.1";
string internal constant SystemConfigVersion = "1.6.0";
string internal constant SystemConfigVersion = "1.6.0";
string internal constant L1ERC721BridgeVersion = "1.2.1";
string internal constant L1ERC721BridgeVersion = "1.2.1";
...
@@ -393,7 +393,13 @@ contract Multichain is SafeBuilder {
...
@@ -393,7 +393,13 @@ contract Multichain is SafeBuilder {
target: _proxyAdmin,
target: _proxyAdmin,
allowFailure: false,
allowFailure: false,
callData: abi.encodeCall(
callData: abi.encodeCall(
ProxyAdmin.upgrade, (payable(prox.OptimismMintableERC20Factory), OptimismMintableERC20FactoryImplementation)
ProxyAdmin.upgradeAndCall,
(
payable(prox.OptimismMintableERC20Factory), // proxy
OptimismMintableERC20FactoryImplementation, // implementation
abi.encodeCall( // data
OptimismMintableERC20Factory.initialize, (prox.L1StandardBridge))
)
)
)
});
});
...
...
packages/contracts-bedrock/scripts/validate-deploy-configs.sh
deleted
100755 → 0
View file @
066ad428
#!/usr/bin/env bash
set
-e
dir
=
$(
dirname
"
$0
"
)
echo
"Validating deployment configurations...
\n
"
for
config
in
$dir
/../deploy-config/
*
.json
do
echo
"Found file:
$config
\n
"
git diff
--exit-code
$config
done
echo
"Deployment configs in
$dir
/../deploy-config validated!
\n
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment