Comments (2)
Additional idea for this macro: accept an optional validate
method that can perform some sanity checks, or maybe add first-class support for owners. E.g.
accounts_struct! {
FooAccountsMeta, FooAccountsInfo {
pub stake_pool_program_id {
is_signer: false,
is_writable: false,
},
pub stake_pool {
is_signer: false,
is_writable: true,
owner: stake_pool_program_id,
},
}
}
from solido.
Now that we no longer use the stake pool, we no longer need to write these accounts structs for external instructions, so I think the ordering problem is no longer relevant. And the sanity check comment I wrote above: now that we no longer use the stake pool, we have much fewer accounts and relations between them, and we have good checks for those on the Lido
struct now, so I think this issue is obsolete.
from solido.
Related Issues (20)
- Add a service that can return historical APY HOT 1
- Backfilling historical stSOL price information HOT 3
- Limit queries to select `epoch + offset`
- Test deploying Anker program with a pre-existing mint
- [APY daemon] Make /metrics internal
- Add Expires header to APY responses HOT 1
- Add fuzzer for APY daemon HOT 1
- Cannot install Solido JS SDK by npm HOT 2
- Can not confirm tx when i use a keypair instance which import by secret key.
- Arbitrage our own `try_sell_anker_rewards` call HOT 5
- Cli: solido deposit doesn't work HOT 1
- wrong minimum_balance in get_reserve_available_balance() HOT 2
- open api for rates HOT 2
- Can't build hello world example using solido repo as external repo HOT 2
- `process_withdraw` duplicates `check_mint` check. HOT 1
- Update Solana to a more recent version
- Updating the Anker deployment
- cargo build fail HOT 1
- Why are the structs different in the rust program vs js package? HOT 4
- Deactivating stake is not exposed properly in Prometheus metrics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solido.