-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Conversation
AER Report: CI Core ran successfully ✅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
|
|
Requires
Supports