-
Notifications
You must be signed in to change notification settings - Fork 370
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
Sealevel: basic tooling to deploy IGPs and configure them with gas oracle data #2500
Comments
Don't have tons of time rn so I'll revisit with more info General idea is First step would be to build off #2574 (which adds the new IGP program), so that In addition to deploying, we'll want to initialize the program. This is done by calling the hyperlane-monorepo/rust/sealevel/programs/interchain-gas-paymaster/tests/functional.rs Lines 64 to 90 in 25d915a
sealevel/client for how we send transactions and initialize other programs. Note you won't be able to use the function I linked to directly because the client banks_client: &mut BanksClient, that's passed in there is strictly a test thing. But the general idea of getting the "program data PDA account" here hyperlane-monorepo/rust/sealevel/programs/interchain-gas-paymaster/tests/functional.rs Line 70 in 25d915a
Useful links: everything in "Core Concepts" here https://solanacookbook.com/ |
I hacked this together for Dan to unblock him on his IGP indexing: #2584
I think the changes to that should now be:
|
### Description Adds support for deploying IGPs and initial setup. Also extends the E2E tests to support these changes. - Deploy an IGP - Configure gas oracle data on IGPs - Configure gas overhead amounts for overhead IGP - Adds new config files to support the above - Adds support for u128 in `serde_json` ### Drive-by changes - Minor code cleanup around unused build cmd args - Refactored transaction submission to prevent common errors. - Cleaned up arg passing in the core commands ### Related issues Fixes #2500 ### Backward compatibility Yes-ish, slightly changes some sealevel commands but mostly the same. See the e2e test if in doubt. ### Testing Manual Unit Tests --------- Co-authored-by: Trevor Porter <[email protected]>
Blocked by #2217
The CLI should have the ability to:
core deploy
command?)The text was updated successfully, but these errors were encountered: