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: pass tx_ref as an extrinsic parameter #4579

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Conversation

marcellorigotti
Copy link
Contributor

Pull Request

Closes: PRO-xxx

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

To avoid complication and migrations we decided to move the tx_ref out of the tx_metadata since we only use it in the event BroadcastSuccess there is no need to save this value and carry it around.

Non-Breaking changes

@marcellorigotti marcellorigotti marked this pull request as ready for review February 27, 2024 16:45
@marcellorigotti marcellorigotti requested review from jerryafr and GabrielBuragev and removed request for a team, dandanlen, AlastairHolmes, jerryafr and GabrielBuragev February 27, 2024 16:45
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 73%. Comparing base (11a5e0a) to head (1854fe1).
Report is 1 commits behind head on main.

Files Patch % Lines
engine/src/witness/dot.rs 0% 5 Missing ⚠️
engine/src/witness/btc.rs 0% 4 Missing ⚠️
engine/src/witness/eth/key_manager.rs 0% 2 Missing ⚠️
state-chain/chains/src/benchmarking_value.rs 0% 2 Missing ⚠️
state-chain/chains/src/btc.rs 0% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4579   +/-   ##
=====================================
  Coverage     73%     73%           
=====================================
  Files        401     401           
  Lines      66763   66735   -28     
  Branches   66763   66735   -28     
=====================================
- Hits       48429   48413   -16     
+ Misses     15987   15975   -12     
  Partials    2347    2347           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kylezs kylezs changed the title pass tx_ref as an extrinsic parameter refactor: pass tx_ref as an extrinsic parameter Feb 28, 2024
engine/src/witness/btc.rs Outdated Show resolved Hide resolved
@kylezs kylezs enabled auto-merge (squash) February 28, 2024 09:13
@kylezs kylezs merged commit 98937bc into main Feb 28, 2024
43 checks passed
@kylezs kylezs deleted the TxHashAsSeparateParameter branch February 28, 2024 09:39
syan095 added a commit that referenced this pull request Feb 28, 2024
…ero-liquidity

* origin/main:
  fix: disable try-state checks (#4576)
  chore: debug solana in CI 🐛 (#4580)
  refactor: pass tx_ref as an extrinsic parameter (#4579)
  fix: remove bounded balance check (#4575)
  Solana: update image to latest tag (#4574)
  feat: add boost lp account to bouncer and fund it on setup_swaps (#4552)
  feat: Expose tx_hash on BroadcastSuccess event (#4561)
  feat: Relative Slippage Limits (PRO-1207) (#4547)
  chore: disable localnet solana in CI ⏱️ (#4569)
  feat: store prewitnessed deposits with id (#4496)
  Feat: Scheduled Swaps Subscription (#4525)

# Conflicts:
#	state-chain/pallets/cf-pools/src/tests.rs
syan095 added a commit that referenced this pull request Feb 29, 2024
…utxo

* origin/main:
  feat: expose command for broker fee withdrawal (#4581)
  Chore/fix arbitrum deployment (#4570)
  Added Range order pool price to the pool_price_v2 rpc call (#4548)
  fix: just check that the balance after is greater than before (#4587)
  chore: add origin to ccm failed (#4586)
  fix: runtime upgrade state check uses AllPalletsWithoutSystem (#4583)
  chore: add zellic audit to repo (#4585)
  fix: disable try-state checks (#4576)
  chore: debug solana in CI 🐛 (#4580)
  refactor: pass tx_ref as an extrinsic parameter (#4579)
  fix: remove bounded balance check (#4575)
  Solana: update image to latest tag (#4574)
  feat: add boost lp account to bouncer and fund it on setup_swaps (#4552)
  feat: Expose tx_hash on BroadcastSuccess event (#4561)
  feat: Relative Slippage Limits (PRO-1207) (#4547)
  chore: disable localnet solana in CI ⏱️ (#4569)
  feat: store prewitnessed deposits with id (#4496)
  Feat: Scheduled Swaps Subscription (#4525)
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