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

Payable Router operations #1012

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Payable Router operations #1012

wants to merge 8 commits into from

Conversation

EndymionJkb
Copy link
Collaborator

Description

Make the remaining non-query Router functions payable (custom remove and recovery withdrawal). Probably people wouldn't be doing recovery mode withdrawals in a batch, but I don't see a reason to prevent it.

Not checking and reverting with value saves a small amount of bytecode.

The diff would be a lot smaller if we merged #1008.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Dependency changes
  • Code refactor / cleanup
  • Optimization: [ ] gas / [ ] bytecode
  • Documentation or wording changes
  • Other

Checklist:

  • The diff is legible and has no extraneous changes
  • Complex code has been commented, including external interfaces
  • Tests have 100% code coverage
  • The base branch is either main, or there's a description of how to merge

Issue Resolution

Resolves #1011

# Conflicts:
#	pkg/vault/test/.contract-sizes/Router
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.

Make remaining Router operations payable
1 participant