Skip to content
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

Update default .env files #205

Merged
merged 9 commits into from
Sep 18, 2024
Merged

Update default .env files #205

merged 9 commits into from
Sep 18, 2024

Conversation

ricott1
Copy link
Contributor

@ricott1 ricott1 commented Sep 17, 2024

What was the problem?

The default .env files contained some values requiring an Infura API key and in general were not correctly pointing to the relevant chain.

How was it solved?

We updated the .env files accordingly.

@ricott1 ricott1 changed the title Update L1_FORK_RPC_URL and L2_FORK_RPC_URL default values Update default .env files Sep 17, 2024
@ricott1 ricott1 marked this pull request as draft September 17, 2024 08:04
@ricott1 ricott1 marked this pull request as ready for review September 17, 2024 08:11
@ricott1 ricott1 self-assigned this Sep 17, 2024
@ricott1 ricott1 added the enhancement New feature or request label Sep 17, 2024
.env.devnet Outdated Show resolved Hide resolved
.env.devnet Show resolved Hide resolved
.env.devnet Show resolved Hide resolved
.env.devnet Outdated Show resolved Hide resolved
.env.devnet Show resolved Hide resolved
.env.devnet Show resolved Hide resolved
.env.devnet Show resolved Hide resolved
.env.devnet Outdated Show resolved Hide resolved
.env.mainnet Outdated Show resolved Hide resolved
.env.testnet Outdated Show resolved Hide resolved
.env.devnet Outdated Show resolved Hide resolved
Copy link
Contributor

@matjazv matjazv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving PR!

Just one small suggestion.
Inside .env.mainnet we currently have two lines:

L2_RPC_URL=https://lisk.drpc.org
#L2_RPC_URL=https://rpc.api.lisk.com

Probably we should only have one line using lisk.com url:
L2_RPC_URL=https://rpc.api.lisk.com

@ricott1
Copy link
Contributor Author

ricott1 commented Sep 18, 2024

@matjazv @AndreasKendziorra Regarding the RPC URLs, should we consistently use the lisk.com ones rather than dRPC?

@matjazv
Copy link
Contributor

matjazv commented Sep 18, 2024

@matjazv @AndreasKendziorra Regarding the RPC URLs, should we consistently use the lisk.com ones rather than dRPC?

I vote for yes.

Regarding L1 endpoints, we're currently using https://eth.drpc.org and https://ethereum-rpc.publicnode.com.
Probably also for L1 we should consistently use just one url. We're using dRPC in some of our publicly available docs: https://docs.lisk.com/lisk-tools/api-providers#drpc so I think it's better to use https://eth.drpc.org it this case.

@AndreasKendziorra
Copy link
Contributor

@matjazv @AndreasKendziorra Regarding the RPC URLs, should we consistently use the lisk.com ones rather than dRPC?

No strong opinion on this one. Either way is fine.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@matjazv matjazv merged commit cfdcdf4 into development Sep 18, 2024
4 checks passed
@matjazv matjazv deleted the improve-env-files branch September 18, 2024 10:03
ricott1 added a commit that referenced this pull request Sep 19, 2024
* Update L1_FORK_RPC_URL and L2_FORK_RPC_URL default values

Signed-off-by: ricott1 <[email protected]>

* Add .env.devnet file and update README

Signed-off-by: ricott1 <[email protected]>

* Update devnet env file and README; Improve comments in env files

Signed-off-by: ricott1 <[email protected]>

* Make default URLs consistent

* Remove unused fork rpc URLs from public chain .env files

* Remove value of unused TEST_NETWORK_MNEMONIC variable

* Update the deployment description in the README

---------

Signed-off-by: ricott1 <[email protected]>
matjazv pushed a commit that referenced this pull request Sep 24, 2024
#203)

* feat: add WBTC deployment script and addresses for mainnet and sepolia

Signed-off-by: ricott1 <[email protected]>

* Update WBTC address in testnet env file

Signed-off-by: ricott1 <[email protected]>

* Fix log typo

Signed-off-by: ricott1 <[email protected]>

* Update default `.env` files (#205)

* Update L1_FORK_RPC_URL and L2_FORK_RPC_URL default values

Signed-off-by: ricott1 <[email protected]>

* Add .env.devnet file and update README

Signed-off-by: ricott1 <[email protected]>

* Update devnet env file and README; Improve comments in env files

Signed-off-by: ricott1 <[email protected]>

* Make default URLs consistent

* Remove unused fork rpc URLs from public chain .env files

* Remove value of unused TEST_NETWORK_MNEMONIC variable

* Update the deployment description in the README

---------

Signed-off-by: ricott1 <[email protected]>

* feat: add WBTC deployment script and addresses for mainnet and sepolia

Signed-off-by: ricott1 <[email protected]>

* Update 9_deployWBTCContract.sh

---------

Signed-off-by: ricott1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants