chore(statics): config changes for hoodi #6489
Merged
+56
−1
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.
This pull request introduces support for a new Ethereum test network called "Hoodi" and includes logic to dynamically determine the network name based on the environment (staging or test). The changes involve updates to the coin and network configuration files to integrate the new test network.
Support for the Hoodi Test Network:
Hoodi
class inmodules/statics/src/networks.ts
to define the network properties, including chain ID, explorer URLs, and contract addresses.Hoodi
network in theNetworks
object inmodules/statics/src/networks.ts
.Dynamic Environment-Based Network Name:
hteth
coin configuration inmodules/statics/src/coins.ts
to useHoodi Testnet Ethereum
as the name in staging environments andHolesky Testnet Ethereum
otherwise.isRunningInStaging
inmodules/statics/src/coins.ts
to determine if the application is running in a staging environment by checking specific environment variables.TICKET: COIN-4804