-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat!: sign_message_nep413
, sign_message_nep366_delegate_action
features, examples
#6
Conversation
@@ -16,14 +16,17 @@ const INS_GET_VERSION: u8 = 6; // Instruction code to get app version from the L | |||
const INS_SIGN_TRANSACTION: u8 = 2; // Instruction code to sign a transaction on the Ledger | |||
const NETWORK_ID: u8 = 'W' as u8; // Instruction parameter 2 | |||
const RETURN_CODE_OK: u16 = 36864; // APDUAnswer.retcode which means success from Ledger | |||
const CHUNK_SIZE: usize = 128; // Chunk size to be sent to Ledger | |||
const CHUNK_SIZE: usize = 250; // Chunk size to be sent to Ledger |
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.
I don't recall was the size of this chunk 128 because of historical reason or due to the capabilities of the Nano S. Can you confirm Nano S works with this increased?
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.
yes. this is specifically to handle large txs. see Case 2
in app-near-rs/tree/proto/README
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.
additionally reconfirmed that this chunk size is fine with app-near
1.2.1 for nanos, downloaded from Ledger Live
ece8b02
to
96d5eb2
Compare
b281207
to
16c8b62
Compare
8cd803d
to
72fde37
Compare
sign_message_nep413
, sign_message_nep366_delegate_action
features, examples
sign_message_nep413
, sign_message_nep366_delegate_action
features, examplessign_message_nep413
, sign_message_nep366_delegate_action
features, examples
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.
Looks good to me.
@khorolets please, review, merge, and cut a new release 🙏
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.
Great work! Thank you! 🙏
blind_sign_transaction
pubilc api was removedthis pr is fast-forward extension of #5