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

chore: replace manual scale encoding for ts-scale #5335

Merged
merged 6 commits into from
Oct 23, 2024

Conversation

albert-llimos
Copy link
Contributor

@albert-llimos albert-llimos commented Oct 17, 2024

Checklist

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

  • I am confident that the code works.
  • I have written sufficient tests.
  • I have written and tested required migrations.
  • I have updated documentation where appropriate.

Summary

Replace the current manual scale encoding for the ts-scale library encoding. This will be useful especially whenever we add channel-less swaps, which will require more scale encoding for cf_parameters.
I increased the timeout for the redemption test as for some reason the runs are taking longer. If this change is causing this increase in bouncer run time we might need to reconsider... seems like it was a runner issue..

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71%. Comparing base (6311f8c) to head (38956bf).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff           @@
##            main   #5335    +/-   ##
======================================
- Coverage     71%     71%    -0%     
======================================
  Files        492     492            
  Lines      85750   85614   -136     
  Branches   85750   85614   -136     
======================================
- Hits       61109   60914   -195     
- Misses     21909   21963    +54     
- Partials    2732    2737     +5     

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

@albert-llimos albert-llimos marked this pull request as ready for review October 17, 2024 06:43
@albert-llimos albert-llimos added this pull request to the merge queue Oct 23, 2024
Merged via the queue into main with commit 50a447a Oct 23, 2024
48 of 49 checks passed
@albert-llimos albert-llimos deleted the chore/bouncer-use-ts-scale branch October 23, 2024 09:45
syan095 added a commit that referenced this pull request Oct 23, 2024
* origin/main:
  feat: Submit a slot number alongside nonce (#5297)
  chore: use node version from `.nvmrc` 📌 (#5336)
  chore: add engine account_info logging (#5347)
  chore: replace manual scale encoding for ts-scale (#5335)
  chore: more consistent params in Broker API (#5342)

# Conflicts:
#	engine/src/witness/sol.rs
#	state-chain/pallets/cf-elections/Cargo.toml
#	state-chain/runtime/Cargo.toml
syan095 added a commit that referenced this pull request Oct 29, 2024
…waps-close-accounts

* origin/main: (44 commits)
  fix: expire all previous epochs (#5279)
  feat: add/update contract swaps parameters (#5343)
  chore: add address to solana logging (#5353)
  fix: ignore dust underflows in order fills rpc (#5352)
  chore: consistent naming prewitnessed (#5351)
  feat: engine-runner verifies gpg signature of old dylib when downloaded (#5339)
  feat: tainted transaction reporting (#5310)
  bug: change_utxo not always present (#5340)
  feat: structured error return types for rpcs (#5346)
  chore: unify dependencies to root cargo.toml (#5333)
  feat: Submit a slot number alongside nonce (#5297)
  chore: use node version from `.nvmrc` 📌 (#5336)
  chore: add engine account_info logging (#5347)
  chore: replace manual scale encoding for ts-scale (#5335)
  chore: more consistent params in Broker API (#5342)
  feat: broker can encode btc smart contract call (#5329)
  chore: localnet recreate script can use defaults (#5338)
  feat: witnessing btc smart contract swaps (#5331)
  feat: Solana CCM fallback (#5316)
  fix: scale types for pending ceremonies (#5286)
  ...

# Conflicts:
#	Cargo.lock
#	state-chain/chains/src/sol/api.rs
#	state-chain/pallets/cf-broadcast/src/migrations.rs
#	state-chain/pallets/cf-environment/Cargo.toml
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