Content
@
0 reply
0 recast
0 reaction
gilbert
@0xgib
In a Solana transaction, a program cannot arbitrarily read data from just any address. You MUST specify which accounts you wish to read from, upfront, BEFORE the program even begins to run 😦 https://warpcast.com/0xgib/0xa0a411ba
2 replies
0 recast
0 reaction
gilbert
@0xgib
This is almost certainly designed this way for performance. Validators can look at a transaction and see – without running any onchain code – what disk storage they would need to read/write to include that tx.
1 reply
0 recast
0 reaction
iain
@iain
This is a common complaint that it makes it hard to compose many solana contracts dynamically.
0 reply
0 recast
1 reaction