-
Notifications
You must be signed in to change notification settings - Fork 4.5k
issue #10831: added --with-memo option to all cli commands that submit #16291
Conversation
… that submit transactions. Also, improve the block command to show UTF-8 string instead of integer values for memo program data.
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.
CI points out there are a bunch of manually built CliCommands in cli/tests
that now need memo
fields (sorry...)
@bji - I sent you a github invite for contributor access to the repo, if you accept then we don't need to continually add the CI flag to your PR anymore |
Can someone explain this Cargo.lock issue? I had to use the spl-memo package and this resulted in the cargo build command updating Cargo.lock. Isn't Cargo.lock a generated file? If so, why is it even checked into the repo? |
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.
Thank you for all the patience and polish! This looks great to me, pending CI
#16291) * issue #10831: added --with-memo option to all cli commands that submit transactions. Also, improve the block command to show UTF-8 string instead of integer values for memo program data. * Fixed tests and changed some syntax according to feedback. * Use spl_memo id (all versions where applicable) instead of hardcoding id. * Update Cargo.toml in programs/bpf. * Update formatting via cargo fmt. * Update to use spl_memo version 3.0.1, which simplifies package imports (cherry picked from commit 364af3a) # Conflicts: # cli-output/Cargo.toml # cli-output/src/display.rs # cli/Cargo.toml # cli/tests/transfer.rs
#16291) * issue #10831: added --with-memo option to all cli commands that submit transactions. Also, improve the block command to show UTF-8 string instead of integer values for memo program data. * Fixed tests and changed some syntax according to feedback. * Use spl_memo id (all versions where applicable) instead of hardcoding id. * Update Cargo.toml in programs/bpf. * Update formatting via cargo fmt. * Update to use spl_memo version 3.0.1, which simplifies package imports (cherry picked from commit 364af3a) # Conflicts: # cli-output/Cargo.toml # cli/Cargo.toml
…t (bp #16291) (#16387) * issue #10831: added --with-memo option to all cli commands that submit (#16291) * issue #10831: added --with-memo option to all cli commands that submit transactions. Also, improve the block command to show UTF-8 string instead of integer values for memo program data. * Fixed tests and changed some syntax according to feedback. * Use spl_memo id (all versions where applicable) instead of hardcoding id. * Update Cargo.toml in programs/bpf. * Update formatting via cargo fmt. * Update to use spl_memo version 3.0.1, which simplifies package imports (cherry picked from commit 364af3a) # Conflicts: # cli-output/Cargo.toml # cli/Cargo.toml * Fix conflicts Co-authored-by: bji <bryan@ischo.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
transactions. Also, improve the block command to show UTF-8 string instead
of integer values for memo program data.
Problem
There was no way previously to add a memo to transactions via the cli.
Summary of Changes
Added memo support and additionally ensured that memo data is displayed as UTF-8 string instead of raw data in the cli block command
Fixes #10831