You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Currently, the leader maintains time_sources, a set of trusted public keys. The bank rejects any timestamp instructions that aren't from one of those keys.
Per @aeyakovenko, contracts shouldn't trust the network for
timestamps. Instead, pass the verified public key to the
contract and let it decide if that's a public key it wants
to trust the timestamp from.
Fixessolana-labs#405
Per @aeyakovenko, contracts shouldn't trust the network for
timestamps. Instead, pass the verified public key to the
contract and let it decide if that's a public key it wants
to trust the timestamp from.
Fixes#405
vkomenda
pushed a commit
to vkomenda/solana
that referenced
this issue
Aug 29, 2021
Currently, the leader maintains
time_sources
, a set of trusted public keys. The bank rejects any timestamp instructions that aren't from one of those keys.https://github.com/solana-labs/solana/blob/master/src/bank.rs#L365
Instead, the key should be passed to the payment plan and allow the contract to choose whom to trust:
https://github.com/solana-labs/solana/blob/master/src/bank.rs#L383
The text was updated successfully, but these errors were encountered: