Skip to main content
Richard's user avatar
Richard's user avatar
Richard's user avatar
Richard
  • Member for 2 years, 5 months
  • Last seen more than a month ago
awarded
revised
How to reduce stack space usage for Anchor programs?
Turns out Anchor 0.29 is WORSE for stack space (because of new structs created on the stack during macros)
Loading…
Loading…
Loading…
awarded
awarded
awarded
Loading…
comment
How to shutdown a local test validator?
Maybe check how anchor test does it? Pretty sure it spins up a local validator.
Loading…
Loading…
comment
Deploying program with Ledger: best way to deploy without having to click 600 times for each tx?
Marking this as the answer since it's more general (and are steps 4-6 in Dhrumil's answer), but both are great, thanks :)
comment
Deploying program with Ledger: best way to deploy without having to click 600 times for each tx?
What if you typo/mis-copy the new upgrade authority, or your wallet keypair is corrupted/mis-saved as you do these upgrades? I guess there's a small window where your program can become 100% bricked. That small window multiply by the # of times you may be doing this (probably manually) can magnify the risk of human error.
Loading…
Loading…
Loading…
Loading…