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

feat(contracts/solve): modify TokenExpense handling for transfers #2860

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

Zodomo
Copy link
Contributor

@Zodomo Zodomo commented Jan 21, 2025

Allowing the spender field in TokenExpense to be bytes32(0) enables us to treat that like a transfer edge case so direct transfers can be executed without an unnecessary approval.

issue: https://github.com/omni-network/ops/issues/740

@Zodomo Zodomo self-assigned this Jan 21, 2025
@Zodomo Zodomo requested a review from kevinhalliday as a code owner January 21, 2025 22:47
@Zodomo Zodomo merged commit 05338f7 into main Jan 22, 2025
19 checks passed
@Zodomo Zodomo deleted the zodomo/sn-token-transfers branch January 22, 2025 17:27
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.

2 participants