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
bcb16015
Commit
bcb16015
authored
Apr 25, 2023
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ctb): Allowing saving deployment for local network
parent
97b9a0f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
.env.example
packages/contracts-bedrock/.env.example
+13
-2
hardhat.config.ts
packages/contracts-bedrock/hardhat.config.ts
+1
-1
No files found.
packages/contracts-bedrock/.env.example
View file @
bcb16015
...
@@ -8,6 +8,17 @@ PRIVATE_KEY_DEPLOYER=
...
@@ -8,6 +8,17 @@ PRIVATE_KEY_DEPLOYER=
TENDERLY_PROJECT=
TENDERLY_PROJECT=
TENDERLY_USERNAME=
TENDERLY_USERNAME=
# Optional boolean to define if cast commands should be printed.
# Useful during migration testing
# The following settings are useful for manually testing the migration scripts.
# Define if cast commands should be printed.
CAST_COMMANDS=1
CAST_COMMANDS=1
# Saves deployment artifacts when using the 'live' network
SAVE_DEPLOYMENTS=1
# Disable the live deployer so that transactions must be submitted manually
DISABLE_LIVE_DEPLOYER=true
# Sets the deployer's key to match the first default hardhat account
PRIVATE_KEY_DEPLOYER=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
packages/contracts-bedrock/hardhat.config.ts
View file @
bcb16015
...
@@ -25,7 +25,7 @@ const config: HardhatUserConfig = {
...
@@ -25,7 +25,7 @@ const config: HardhatUserConfig = {
local
:
{
local
:
{
live
:
false
,
live
:
false
,
url
:
'
http://localhost:8545
'
,
url
:
'
http://localhost:8545
'
,
saveDeployments
:
false
,
saveDeployments
:
!!
process
.
env
.
SAVE_DEPLOYMENTS
||
false
,
accounts
:
[
accounts
:
[
'
ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
'
,
'
ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
'
,
],
],
...
...
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