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

fix(engine): claiming burns/fees call frame error #960

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Mar 7, 2024

Description

fix(engine): claiming burns/fees call frame error

Motivation and Context

Id provider needs a call stack to get the correct entity ID, however creating bucket ids do not require an entity id. Claiming burns and fees do not have a call frame since they are native instructions, and so would error when getting the id provider.
This PR allocates a bucket id without requiring an active call frame.

How Has This Been Tested?

Claim burn cucumber passes

What process can a PR reviewer use to test or verify this change?

Claim burn/fee

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - Please specify

@sdbondi sdbondi force-pushed the engine-fix-call-stack-error branch from 3cf65e7 to 944f663 Compare March 7, 2024 09:48
@stringhandler stringhandler added this pull request to the merge queue Mar 7, 2024
Merged via the queue into tari-project:development with commit c6a114f Mar 7, 2024
9 of 10 checks passed
sdbondi added a commit to sdbondi/tari-dan that referenced this pull request Mar 8, 2024
* development:
  feat: change bindings package usage to git instead of local (tari-project#963)
  v0.4.1
  fix(engine): claiming burns/fees call frame error (tari-project#960)
  ci: fix windows and macos builds (tari-project#961)
  v0.4.0
  ci: add tari generate to built binaries (tari-project#959)
  refactor(engine)!: substate address based on entity id prefix (tari-project#951)
  fix(walletd): emit AccountChanged event on changes for account refresh (tari-project#956)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants