-
Notifications
You must be signed in to change notification settings - Fork 68
fix: new svm program ids #1011
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
base: master
Are you sure you want to change the base?
fix: new svm program ids #1011
Conversation
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
@@ -22,7 +22,7 @@ security_txt! { | |||
|
|||
// If changing the program ID, make sure to check that the resulting handler_signer PDA has the highest bump of 255 so | |||
// to minimize the compute cost when finding the PDA. | |||
declare_id!("Fk1RpqsfeWt8KnFCTW9NQVdVxYvxuqjGn6iPB9wrmM8h"); | |||
declare_id!("HaQe51FWtnmaEcuYEfPA7MRCXKrtqptat4oJdJ8zV5Be"); |
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.
verified this has the highest bump:
$ solana find-program-derived-address HaQe51FWtnmaEcuYEfPA7MRCXKrtqptat4oJdJ8zV5Be string:handler_signer --output json
{
"address": "FDF3RHJbQmN4usz13Z1rcHDFMoTwNN4VebhgjCeNfntH",
"bumpSeed": 255
}
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
"status": 1, | ||
"byzantium": true | ||
}, | ||
"args": [ | ||
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", | ||
"0xBd3fa81B58Ba92a82136038B25aDec7066af3155", | ||
"0x0a992d191deec32afe36203ad87d7d289a738f81", | ||
"0xff09aa2d3eb1bc9da19e82264930e13d3993e1160f3039ef21afd1565376efca", | ||
"0xb7664086de37ee70821c10445b162f2c7ec8795bd0800c1462949e2328d1dd5a", |
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.
decodes to svm_spoke
at DLv3NggMiSaef97YCkew5xKUHDh13tVGZ7tydt3ZeAru
"0xc6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d61", | ||
"0xe11ef405ee6e9a6497fb8209d04040216281c57264730415648de979f6cec7fa" | ||
"0xf5d9ddc2b5d994277e15ea380117a3f8ef04ce1e37e2c678c3be4d11b2a5d034" |
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.
decodes to USDC vault for the new svm_spoke
at HYhZwefNFmEm9sXYKkNM4QPMgGQnS9VjC6kgxwrGk3Ru
We want pristine addresses for SVM program deployments in production.
This also required redeploying
Solana_Adapter
to point to the newsvm_spoke
instance and its USDC vault.