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

Arbitrary Bridge pool fee token types #1795

Merged
merged 65 commits into from
Sep 6, 2023
Merged

Conversation

sug0
Copy link
Contributor

@sug0 sug0 commented Aug 8, 2023

Describe your changes

Closes #1704
Doesn't solve #1799 nor #1800

The PR is configured to merge into the base (tiago/update-ethbridge-rs) to make reviewing easier. It should be changed back to main, once the base is upstreamed.

Indicate on which release or other PRs this topic is based on

Based on #1789

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@sug0 sug0 added enhancement New feature or request ledger ethereum-bridge labels Aug 8, 2023
@sug0 sug0 force-pushed the tiago/update-ethbridge-rs branch from 1ac1406 to 80854c5 Compare August 8, 2023 16:17
@sug0 sug0 force-pushed the tiago/bridge-pool-fees branch 3 times, most recently from ac1896d to 31e948b Compare August 9, 2023 13:06
sug0 added a commit that referenced this pull request Aug 9, 2023
@sug0 sug0 marked this pull request as ready for review August 9, 2023 15:51
@sug0
Copy link
Contributor Author

sug0 commented Aug 9, 2023

might still add one or two tests to check that the appropriate keys are changed when the fee token is different from NAM, while handling ethereum events

sug0 added a commit that referenced this pull request Aug 10, 2023
apps/src/lib/cli.rs Show resolved Hide resolved
sug0 added a commit that referenced this pull request Aug 11, 2023
@sug0 sug0 requested a review from batconjurer August 11, 2023 12:48
@sug0 sug0 mentioned this pull request Aug 13, 2023
2 tasks
tzemanovic
tzemanovic previously approved these changes Aug 16, 2023
@sug0 sug0 force-pushed the tiago/update-ethbridge-rs branch from 80854c5 to 5678ee7 Compare August 28, 2023 14:44
@sug0 sug0 marked this pull request as ready for review August 28, 2023 14:45
@sug0 sug0 mentioned this pull request Aug 28, 2023
@sug0 sug0 changed the base branch from tiago/update-ethbridge-rs to main August 28, 2023 14:54
@sug0 sug0 dismissed tzemanovic’s stale review August 28, 2023 14:54

The base branch was changed.

sug0 added a commit that referenced this pull request Aug 30, 2023
sug0 added a commit that referenced this pull request Aug 30, 2023
Fraccaman added a commit that referenced this pull request Sep 6, 2023
* origin/tiago/bridge-pool-fees:
  Changelog for #1795
  Fix the denomination of Bridge pool gas fees
  Add `DenominatedAmount::is_zero`
  Fix docstring
  Make Bridge pool gas payer CLI arg optional
  Standardize Bridge pool transfer CLI args
  Update CLI args for Bridge pool transfers
  Test paying Bridge pool gas fees in ERC20 tokens
  Arbitrary gas fees in Ethereum events `init_balances`
  Fix bug in `determine_escrow_checks` and document corner cases
  Add misc Bridge pool VP tests
  Fix test_minting_wnam() unit test
  Validate different gas fee tokens in Bridge pool VP
  Check correct gas fee token in Bridge pool transfers
  Fix compilation errors from prev commit
  Add token addr field to Bridge pool gas fees
  Move `check_balance_changes` to Bridge pool VP module
Fraccaman added a commit that referenced this pull request Sep 6, 2023
* origin/tiago/bridge-pool-fees:
  Changelog for #1795
  Fix the denomination of Bridge pool gas fees
  Add `DenominatedAmount::is_zero`
  Fix docstring
  Make Bridge pool gas payer CLI arg optional
  Standardize Bridge pool transfer CLI args
  Update CLI args for Bridge pool transfers
  Test paying Bridge pool gas fees in ERC20 tokens
  Arbitrary gas fees in Ethereum events `init_balances`
  Fix bug in `determine_escrow_checks` and document corner cases
  Add misc Bridge pool VP tests
  Fix test_minting_wnam() unit test
  Validate different gas fee tokens in Bridge pool VP
  Check correct gas fee token in Bridge pool transfers
  Fix compilation errors from prev commit
  Add token addr field to Bridge pool gas fees
  Move `check_balance_changes` to Bridge pool VP module
Fraccaman added a commit that referenced this pull request Sep 6, 2023
* origin/tiago/bridge-pool-fees:
  Changelog for #1795
  Fix the denomination of Bridge pool gas fees
  Add `DenominatedAmount::is_zero`
  Fix docstring
  Make Bridge pool gas payer CLI arg optional
  Standardize Bridge pool transfer CLI args
  Update CLI args for Bridge pool transfers
  Test paying Bridge pool gas fees in ERC20 tokens
  Arbitrary gas fees in Ethereum events `init_balances`
  Fix bug in `determine_escrow_checks` and document corner cases
  Add misc Bridge pool VP tests
  Fix test_minting_wnam() unit test
  Validate different gas fee tokens in Bridge pool VP
  Check correct gas fee token in Bridge pool transfers
  Fix compilation errors from prev commit
  Add token addr field to Bridge pool gas fees
  Move `check_balance_changes` to Bridge pool VP module
@Fraccaman Fraccaman merged commit dbbbf6c into main Sep 6, 2023
4 checks passed
@Fraccaman Fraccaman deleted the tiago/bridge-pool-fees branch September 6, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow the Bridge pool fees to be payed in more token types
4 participants