-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat(providers): updating Pokt endpoint #479
Conversation
70d7f37
to
dff81d3
Compare
@@ -13,6 +13,7 @@ Chain name with associated `chainId` query param to use. | |||
- Arbitrum Goerli (`eip155:421613`) | |||
- Polygon (`eip155:137`) | |||
- Polygon Mumbai (`eip155:80001`) | |||
- Polygon Zkevm (`eip155:1101`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We forgot to add it to the list despite we were supporting it for at least 7 months.
dff81d3
to
23b7184
Compare
// Weight::new(Priority::Normal).unwrap(), | ||
// ), | ||
// ), | ||
// AVAX mainnet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why this was commented, but we are supporting eip155:43114
in other providers as well as Grove/Pokt supports it.
@@ -76,10 +76,6 @@ fn default_supported_chains() -> HashMap<String, (String, Weight)> { | |||
"eip155:5".into(), | |||
("eth-goerli".into(), Weight::new(Priority::Normal).unwrap()), | |||
), | |||
( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is not supported by Pokt/Grove anymore https://docs.grove.city/guides/getting-started/supported-blockchains.
We don't need to remove it from the supported list because it's supported by Infura.
// Binance mainnet | ||
check_if_rpc_is_responding_correctly_for_supported_chain(ctx, "eip155:56", "0x38").await; | ||
|
||
// Gnosis | ||
check_if_rpc_is_responding_correctly_for_supported_chain(ctx, "eip155:100", "0x64").await | ||
// Ethereum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding missing tests for supported chains.
Description
The Pokt provider announced changing the endpoint:
This PR implements changes according to the new provider changes and adds minor fixes.
Resolves #461
How Has This Been Tested?
Functional (integration) tests for the provider and used chains.
Due Diligence