Skip to content

runtime: move stake and move lamports instructions#2487

Merged
kbhargava-jump merged 1 commit intomainfrom
move-stake-lamport-ixns
Jul 31, 2024
Merged

runtime: move stake and move lamports instructions#2487
kbhargava-jump merged 1 commit intomainfrom
move-stake-lamport-ixns

Conversation

@kbhargava-jump
Copy link
Copy Markdown
Contributor

@kbhargava-jump kbhargava-jump commented Jul 22, 2024

agave has added two new stake instructions: anza-xyz/agave#1928

@kbhargava-jump kbhargava-jump force-pushed the move-stake-lamport-ixns branch 12 times, most recently from 7b39103 to 7d664dc Compare July 29, 2024 17:02
@kbhargava-jump kbhargava-jump force-pushed the move-stake-lamport-ixns branch 2 times, most recently from 7d664dc to 076073e Compare July 30, 2024 17:52
Comment thread contrib/ledger-gen/run_cluster.py
@kbhargava-jump kbhargava-jump force-pushed the move-stake-lamport-ixns branch from 1400fe2 to ff36237 Compare July 30, 2024 18:22
@ibhatt-jumptrading ibhatt-jumptrading self-requested a review July 30, 2024 19:21
@kbhargava-jump kbhargava-jump marked this pull request as ready for review July 30, 2024 19:35
Copy link
Copy Markdown
Contributor

@ibhatt-jumptrading ibhatt-jumptrading left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm just nits + small things

Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
Comment thread src/flamenco/runtime/program/fd_stake_program.c
Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
Comment thread src/flamenco/runtime/program/fd_stake_program.c Outdated
@kbhargava-jump kbhargava-jump force-pushed the move-stake-lamport-ixns branch 6 times, most recently from 261de33 to 6164e50 Compare July 30, 2024 23:02
topointon-jump
topointon-jump previously approved these changes Jul 31, 2024
// ----------------------- ONLY CHANGE BELOW THIS LINE -----------------------
ledgers::bpf_loader_ledger(&rpc_client, &arc_client, &payer, &program_data, &account_data);
// ledgers::bpf_loader_ledger(&rpc_client, &arc_client, &payer, &program_data, &account_data);
ledgers::stake_ledger(&rpc_client, &payer);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of changing this every time on a one-off basis, we should have a deterministic script we can run to generate all the test ledgers. Then we can just add to this in PRs. I think this file is basically that with some tweaks.

jumpsiegel
jumpsiegel previously approved these changes Jul 31, 2024
@kbhargava-jump kbhargava-jump added this pull request to the merge queue Jul 31, 2024
Merged via the queue into main with commit ac9ac41 Jul 31, 2024
@kbhargava-jump kbhargava-jump deleted the move-stake-lamport-ixns branch July 31, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants