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
6bc84976
Unverified
Commit
6bc84976
authored
Oct 26, 2021
by
Maurelian
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(contracts): Remove fresh tag
parent
ea5091e4
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
16 additions
and
17 deletions
+16
-17
deploy.ts
packages/contracts/bin/deploy.ts
+0
-1
000-Lib_AddressManager.deploy.ts
packages/contracts/deploy/000-Lib_AddressManager.deploy.ts
+1
-1
001-OVM_ChainStorageContainer_ctc_batches.deploy.ts
...eploy/001-OVM_ChainStorageContainer_ctc_batches.deploy.ts
+1
-1
002-OVM_ChainStorageContainer_scc_batches.deploy.ts
...eploy/002-OVM_ChainStorageContainer_scc_batches.deploy.ts
+1
-1
003-OVM_CanonicalTransactionChain.deploy.ts
...tracts/deploy/003-OVM_CanonicalTransactionChain.deploy.ts
+1
-1
004-OVM_StateCommitmentChain.deploy.ts
...s/contracts/deploy/004-OVM_StateCommitmentChain.deploy.ts
+1
-1
005-OVM_BondManager.deploy.ts
packages/contracts/deploy/005-OVM_BondManager.deploy.ts
+1
-1
006-OVM_L1CrossDomainMessenger.deploy.ts
...contracts/deploy/006-OVM_L1CrossDomainMessenger.deploy.ts
+1
-1
007-Proxy__OVM_L1CrossDomainMessenger.deploy.ts
...ts/deploy/007-Proxy__OVM_L1CrossDomainMessenger.deploy.ts
+1
-1
008-Proxy__OVM_L1StandardBridge.deploy.ts
...ontracts/deploy/008-Proxy__OVM_L1StandardBridge.deploy.ts
+1
-1
009-OVM_L1StandardBridge.deploy.ts
packages/contracts/deploy/009-OVM_L1StandardBridge.deploy.ts
+1
-1
010-AddressSetter.deploy.ts
packages/contracts/deploy/010-AddressSetter.deploy.ts
+1
-1
011-set-addresses.ts
packages/contracts/deploy/011-set-addresses.ts
+1
-1
012-initialize-Proxy__L1CrossDomainMessenger.ts
...ts/deploy/012-initialize-Proxy__L1CrossDomainMessenger.ts
+1
-1
013-finalize.ts
packages/contracts/deploy/013-finalize.ts
+1
-1
014-fund-accounts.ts
packages/contracts/deploy/014-fund-accounts.ts
+1
-1
deploy.ts
packages/contracts/tasks/deploy.ts
+1
-1
No files found.
packages/contracts/bin/deploy.ts
View file @
6bc84976
...
...
@@ -67,7 +67,6 @@ const main = async () => {
ovmAddressManagerOwner
:
deployer
.
address
,
numDeployConfirmations
:
0
,
noCompile
:
process
.
env
.
NO_COMPILE
?
true
:
false
,
tags
:
'
fresh
'
,
})
// Stuff below this line is currently required for CI to work properly. We probably want to
...
...
packages/contracts/deploy/000-Lib_AddressManager.deploy.ts
View file @
6bc84976
...
...
@@ -14,6 +14,6 @@ const deployFn: DeployFunction = async (hre) => {
}
// This is kept during an upgrade. So no upgrade tag.
deployFn
.
tags
=
[
'
fresh
'
,
'
Lib_AddressManager
'
]
deployFn
.
tags
=
[
'
Lib_AddressManager
'
]
export
default
deployFn
packages/contracts/deploy/001-OVM_ChainStorageContainer_ctc_batches.deploy.ts
View file @
6bc84976
...
...
@@ -18,6 +18,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
ChainStorageContainer_ctc_batches
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
ChainStorageContainer_ctc_batches
'
]
export
default
deployFn
packages/contracts/deploy/002-OVM_ChainStorageContainer_scc_batches.deploy.ts
View file @
6bc84976
...
...
@@ -18,6 +18,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
ChainStorageContainer_scc_batches
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
ChainStorageContainer_scc_batches
'
]
export
default
deployFn
packages/contracts/deploy/003-OVM_CanonicalTransactionChain.deploy.ts
View file @
6bc84976
...
...
@@ -22,6 +22,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
CanonicalTransactionChain
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
CanonicalTransactionChain
'
]
export
default
deployFn
packages/contracts/deploy/004-OVM_StateCommitmentChain.deploy.ts
View file @
6bc84976
...
...
@@ -21,6 +21,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
StateCommitmentChain
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
StateCommitmentChain
'
]
export
default
deployFn
packages/contracts/deploy/005-OVM_BondManager.deploy.ts
View file @
6bc84976
...
...
@@ -17,6 +17,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
BondManager
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
BondManager
'
]
export
default
deployFn
packages/contracts/deploy/006-OVM_L1CrossDomainMessenger.deploy.ts
View file @
6bc84976
...
...
@@ -36,6 +36,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
L1CrossDomainMessenger
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
L1CrossDomainMessenger
'
]
export
default
deployFn
packages/contracts/deploy/007-Proxy__OVM_L1CrossDomainMessenger.deploy.ts
View file @
6bc84976
...
...
@@ -25,6 +25,6 @@ const deployFn: DeployFunction = async (hre) => {
}
// This is kept during an upgrade. So no upgrade tag.
deployFn
.
tags
=
[
'
fresh
'
,
'
Proxy__OVM_L1CrossDomainMessenger
'
]
deployFn
.
tags
=
[
'
Proxy__OVM_L1CrossDomainMessenger
'
]
export
default
deployFn
packages/contracts/deploy/008-Proxy__OVM_L1StandardBridge.deploy.ts
View file @
6bc84976
...
...
@@ -17,6 +17,6 @@ const deployFn: DeployFunction = async (hre) => {
}
// This is kept during an upgrade. So no upgrade tag.
deployFn
.
tags
=
[
'
fresh
'
,
'
Proxy__OVM_L1StandardBridge
'
]
deployFn
.
tags
=
[
'
Proxy__OVM_L1StandardBridge
'
]
export
default
deployFn
packages/contracts/deploy/009-OVM_L1StandardBridge.deploy.ts
View file @
6bc84976
...
...
@@ -131,6 +131,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
L1StandardBridge
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
L1StandardBridge
'
]
export
default
deployFn
packages/contracts/deploy/010-AddressSetter.deploy.ts
View file @
6bc84976
...
...
@@ -85,6 +85,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
AddressDictator
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
AddressDictator
'
]
export
default
deployFn
packages/contracts/deploy/011-set-addresses.ts
View file @
6bc84976
...
...
@@ -83,6 +83,6 @@ const deployFn: DeployFunction = async (hre) => {
}
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
set-addresses
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
set-addresses
'
]
export
default
deployFn
packages/contracts/deploy/012-initialize-Proxy__L1CrossDomainMessenger.ts
View file @
6bc84976
...
...
@@ -31,6 +31,6 @@ const deployFn: DeployFunction = async (hre) => {
})
}
deployFn
.
tags
=
[
'
f
resh
'
,
'
f
inalize
'
]
deployFn
.
tags
=
[
'
finalize
'
]
export
default
deployFn
packages/contracts/deploy/013-finalize.ts
View file @
6bc84976
...
...
@@ -31,6 +31,6 @@ const deployFn: DeployFunction = async (hre) => {
console
.
log
(
`✓ Set owner of Lib_AddressManager to:
${
owner
}
`
)
}
deployFn
.
tags
=
[
'
fresh
'
,
'
upgrade
'
,
'
finalize
'
]
deployFn
.
tags
=
[
'
upgrade
'
,
'
finalize
'
]
export
default
deployFn
packages/contracts/deploy/014-fund-accounts.ts
View file @
6bc84976
...
...
@@ -58,6 +58,6 @@ const deployFn: DeployFunction = async (hre) => {
}
}
deployFn
.
tags
=
[
'
f
resh
'
,
'
f
und-accounts
'
]
deployFn
.
tags
=
[
'
fund-accounts
'
]
export
default
deployFn
packages/contracts/tasks/deploy.ts
View file @
6bc84976
...
...
@@ -123,7 +123,7 @@ task('deploy')
// When a tagName is provided, it indicates that a new contract will be deployed.
const
validateArgOrTag
=
(
argName
:
string
,
tagName
:
string
)
=>
{
// The 'fresh' tag tells us that a new copy of each contract will be deployed.
const
hasTag
=
args
.
tags
.
includes
(
'
fresh
'
)
||
args
.
tags
.
includes
(
tagName
)
const
hasTag
=
args
.
tags
.
includes
(
tagName
)
// Ensure that an arg and tag were NOT BOTH provided for a given contract
if
(
hasTag
&&
ethers
.
utils
.
isAddress
(
args
[
argName
]))
{
throw
new
Error
(
...
...
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