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

refactor: separate context #2065

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

refactor: separate context #2065

wants to merge 1 commit into from

Conversation

verytactical
Copy link
Contributor

Issue

Closes #2064.

Checklist

  • I have updated CHANGELOG.md
  • I have run all the tests locally and no test failure was reported
  • I have run the linter, formatter and spellchecker
  • I did not do unrelated and/or undiscussed refactorings

@@ -60,3 +69,43 @@ asm extends fun readForwardFee(self: Context): Int {
// first_frac is a value listed in config param 25
// of the blockchain: https://tonscan.org/config#25
}

asm fun readForwardFeeAux(rawPayload: Slice): Int {
// Only the self.raw (Context.raw) is important,
Copy link
Member

Choose a reason for hiding this comment

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

hacky copy-paste i see 🪀

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.

Store context variables separately
2 participants