-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
save solana pdas in address book #16135
base: develop
Are you sure you want to change the base?
Conversation
AER Report: CI Coreaer_workflow , commit , Detect Changes , Clean Go Tidy & Generate , Scheduled Run Frequency , GolangCI Lint (deployment) , Core Tests (go_core_tests) , Core Tests (go_core_tests_integration) , Core Tests (go_core_ccip_deployment_tests) , test-scripts , Core Tests (go_core_fuzz) , Core Tests (go_core_race_tests) , lint , SonarQube Scan 1. Linting error: Golang Lint (deployment)Source of Error:
Why: The linter Suggested fix: Modify the code to omit the second value in the range loop. Change 2. Test failure: Core Tests (go_core_ccip_deployment_tests)Source of Error:
Why: The test Suggested fix: Review the logic in the AER Report: Operator UI CI ran successfully ✅ |
As discussed offline, I think we should store the chain selectors instead of storing the source/dest PDAs and then add more flexibility in the values instead of having dynamic types type SolCCIPChainState struct {
..
// list of remote chains
// type&Version -> RemoteChainSelcs
RemoteChainSelcs []uint64 // eg: [1,2,3]
// map of remote chains to tokens configured for billing
// type&Version -> RemoteToBillingTokens
RemoteToBillingTokens map[uint64][]sol.PublicKey // billing_1_TokenA, billing_2_TokenB
// map of remote chains to tokens configured for tokenPools
// type&Version -> RemoteToPoolTokens
RemoteToPoolTokens map[uint64][]sol.PublicKey // pool_1_TokenA, pool_2_TokenB
} when going from addressBook to state:
|
will raise this for review after token pool merges |
I see you updated files related to
|
Quality Gate passedIssues Measures |
Requires
Supports