-
-
Notifications
You must be signed in to change notification settings - Fork 246
Feat/update injective to lb #92
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/update injective to lb #92
Conversation
nicolasbaum
left a comment
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.
Added the following changes to make a local version work
| sequence: number | ||
| ): Promise<{ data: any }> { | ||
| const { signBytes, txRaw } = createTransaction({ | ||
| const { txRaw } = createTransaction({ |
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.
Changed it to:
const { signBytes, txRaw } = createTransaction({
| accountNumber: accountDetails.accountNumber, | ||
| chainId: this.chainId, | ||
| }); | ||
|
|
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.
/** Sign transaction */
const signature = await this._privateKey.sign(Buffer.from(signBytes));
/** Append Signatures */
txRaw.signatures = [signature];
cardosofede
left a comment
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.
LGTM!
Before submitting this PR, please make sure:
A description of the changes proposed in the pull request:
This pr updates the Injective deps and also updates the deprecated codes.
Tests performed by the developer:
Tips for QA testing: