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

fix: dot decode xt #3904

Merged
merged 2 commits into from
Aug 28, 2023
Merged

fix: dot decode xt #3904

merged 2 commits into from
Aug 28, 2023

Conversation

kylezs
Copy link
Contributor

@kylezs kylezs commented Aug 28, 2023

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

It seems there were some subtler encoding/decoding changes in the substrate upgrade and this particular one wasn't caught by the compiler since encode() just returns a Vec<> again... but it adds 2 bytes to the front for the length - which caused us to fail the decoding.

@kylezs
Copy link
Contributor Author

kylezs commented Aug 28, 2023

@martin-chainflip to be cherry-picked

@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #3904 (20315fe) into main (7d761e9) will increase coverage by 0%.
The diff coverage is 98%.

@@          Coverage Diff          @@
##            main   #3904   +/-   ##
=====================================
  Coverage     71%     71%           
=====================================
  Files        365     365           
  Lines      56568   56649   +81     
  Branches   56568   56649   +81     
=====================================
+ Hits       40365   40451   +86     
+ Misses     14207   14188   -19     
- Partials    1996    2010   +14     
Files Changed Coverage Δ
engine/src/witness/dot.rs 48% <0%> (+<1%) ⬆️
state-chain/chains/src/dot.rs 40% <100%> (+15%) ⬆️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@martin-chainflip martin-chainflip enabled auto-merge (squash) August 28, 2023 15:15
@martin-chainflip martin-chainflip merged commit 7911f33 into main Aug 28, 2023
42 checks passed
@martin-chainflip martin-chainflip deleted the fix/dot-decode branch August 28, 2023 15:47
martin-chainflip pushed a commit that referenced this pull request Aug 28, 2023
* fix: dot decode xt

* test: add decoding extrinsic tests
syan095 added a commit that referenced this pull request Aug 29, 2023
…on-integration

* origin/main: (43 commits)
  fix: dot decode xt (#3904)
  Initial Prometheus Integration into Engine (#3861)
  test: lag safety (#3903)
  Feat/deposit-tracking (#3889)
  task scope logging :) (#3901)
  doc: metadata fetching (#3900)
  fix: strictly monotonic (#3899)
  Chore/bouncer check source address (#3893)
  fix: index and hash log (#3898)
  fix: start ARB network and increase polkadot rpc connection limit 🐛🚀 (#3897)
  test: use Rich test externality for pallet mocks (#3874)
  fix: correct rotation transitions on failure (#3875)
  cherry-pick: localnet initial state fixes (#3892)
  fix block number reported for initial polkadot vault creation (#3891)
  chore: update polkadot to v1.0.0 (#3890)
  feat: add an optional limit to retrier requests (#3881)
  doc: next or pending (#3885)
  Chore/fix bouncer ccm (#3888)
  Feature: Runtime upgrade can require CFE version (#3880)
  feat: redemption executor (#3877)
  ...

# Conflicts:
#	state-chain/cf-integration-tests/src/authorities.rs
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.

3 participants