这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@vic-en
Copy link
Collaborator

@vic-en vic-en commented Apr 25, 2023

Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You are using approved title ("feat/", "fix/", "docs/", "refactor/")

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:

  • End-to-end testing with client

Tips for QA testing:

Copy link

@nicolasbaum nicolasbaum left a 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({

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,
});

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];

Copy link
Contributor

@cardosofede cardosofede left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants