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

feat: add FoK config items to cf_swapping_environment #5099

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

j4m1ef0rd
Copy link
Contributor

@j4m1ef0rd j4m1ef0rd commented Jul 31, 2024

Pull Request

Closes: PRO-1517

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

Breaking change: This PR changes the SwappingEnvironment struct. I am unsure of how this will affect the frontend.

added swap_retry_delay_blocks and max_swap_retry_duration_blocks to the cf_swapping_environment.
max_swap_retry_duration_blocks is a hashmap of the setting value for each chain.
Updated the environment_serialization snapshot.

@j4m1ef0rd j4m1ef0rd self-assigned this Jul 31, 2024
@j4m1ef0rd j4m1ef0rd requested a review from dandanlen as a code owner July 31, 2024 07:34
Copy link
Contributor

@niklasnatter niklasnatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 27.77778% with 26 lines in your changes missing coverage. Please review.

Project coverage is 71%. Comparing base (8153b0d) to head (7e5a191).
Report is 3 commits behind head on main.

Files Patch % Lines
state-chain/runtime/src/lib.rs 0% 0 Missing and 15 partials ⚠️
state-chain/custom-rpc/src/lib.rs 42% 11 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #5099    +/-   ##
======================================
- Coverage     71%     71%    -0%     
======================================
  Files        442     442            
  Lines      76766   76643   -123     
  Branches   76766   76643   -123     
======================================
- Hits       54609   54415   -194     
- Misses     19236   19291    +55     
- Partials    2921    2937    +16     

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

@kylezs kylezs added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit ef09e3b Aug 1, 2024
48 checks passed
@kylezs kylezs deleted the feat/fok-config-rpcs branch August 1, 2024 06:45
syan095 added a commit that referenced this pull request Aug 5, 2024
…at/solana-call-length

* origin/feat/solana-ccm-checker: (23 commits)
  CCM checker returns the decoded cf_param to avoid duplicate decoding.
  chore: set upgrade test back to true
  Chore/fix compile (#5109)
  Chore/bouncer add cf parameters check (#5107)
  chore: Solana engine not require tx history (#5095)
  chore: update client for type missmatch
  chore: update to solana+fok client
  fix: migrations
  feat: emit swap request first (#5102)
  feat: add FoK config items to `cf_swapping_environment` (#5099)
  chore: add Solana missing rpc return values (#5100)
  test: Bouncer Fill or Kill test (#5056)
  feat: put solana chain state
  Feat: solana engine broadcast retries (#5093)
  feat: Allow arbitrary accounts to be used as affiliate broker (#5097)
  Tests for minimum deposit (#5087)
  feat: apicall stores signer, store current on chain key (#5063)
  task scope soundness comment (#5096)
  Swapping Pallet Redesign (#5025)
  chore: update test
  ...

# Conflicts:
#	state-chain/cf-integration-tests/src/solana.rs
#	state-chain/chains/src/sol/api.rs
#	state-chain/runtime/src/lib.rs
martin-chainflip pushed a commit that referenced this pull request Aug 5, 2024
* feat: add FoK config items to environment rpc

* test: update environment snapshot
martin-chainflip pushed a commit that referenced this pull request Aug 5, 2024
* feat: add FoK config items to environment rpc

* test: update environment snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants