-
Notifications
You must be signed in to change notification settings - Fork 2
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
new runtime fuzzer pb defs rough poc draft #19
base: main
Are you sure you want to change the base?
Conversation
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.
🔥 nice one! comments so far
repeated AcctState acct_states = 1; | ||
repeated Feature features = 2; | ||
repeated SlotEnv slots = 3; | ||
EpochSchedule epoch_schedule = 4; |
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.
Leader schedule
int32 todo = 1; | ||
} | ||
|
||
message SysvarCache { |
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.
remove this
repeated AcctState reward_acct_states = 1; | ||
repeated AcctState rent_acct_states = 2; | ||
repeated AcctState sysvar_acct_states = 4; |
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.
collapse into just a single list of accounts
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.
make it clear that these are accounts that have changed
repeated AcctState reward_acct_states = 1; | ||
repeated AcctState rent_acct_states = 2; | ||
repeated AcctState sysvar_acct_states = 4; | ||
repeated TxnEnv txn_envs = 5; /* Contains all resultant account states */ |
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.
txn effects
repeated AcctState acct_states = 1; | ||
repeated Feature features = 2; | ||
repeated SlotEnv slots = 3; | ||
EpochSchedule epoch_schedule = 4; |
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.
epoch schedule in acct states
|
||
import "slot_v2.proto"; | ||
|
||
message AcctState { |
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.
keep acct states in epoch effects
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.
bhq
} | ||
|
||
message SlotEffects { | ||
/* The resulting state of the accounts after the slot */ |
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.
block valid
/* Account states after instruction execution in the order as specified by | ||
instruction. These states are then updated at fuzzers that operate at | ||
the transaction, slot, and epoch granularity. */ | ||
repeated AcctState accounts = 5; |
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.
remvoe
|
No description provided.