Skip to content
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

Update Deprecated Method Usage #1740

Merged
merged 4 commits into from
Sep 24, 2024
Merged

Conversation

harrysolovay
Copy link
Contributor

to.label = `${this.constructor.name}.transfer() (to)`;
}

from.balanceChange = Int64.from(amount).neg();
from.balanceChange = Int64.from(amount).negV2();
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a breaking change, so this PR needs to target the v2 branch!

@mitschabaude mitschabaude changed the base branch from main to v2 July 11, 2024 19:43
@mitschabaude
Copy link
Collaborator

to pass CI, still needs

npm run dump-vks

to update verification key regression test

@harrysolovay
Copy link
Contributor Author

Gotcha. Gonna hold off on making any changes until the dust settles re. #1742

@Trivo25
Copy link
Member

Trivo25 commented Sep 24, 2024

neg() has already been moved into negV2(), but let's merge it nonetheless for the use of AccountUpdate.default() :)

@Trivo25 Trivo25 merged commit 5f761df into v2 Sep 24, 2024
23 checks passed
@Trivo25 Trivo25 deleted the update-token-contract-int64-neg-usage branch September 24, 2024 18:35
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.

3 participants