Changelog
All notable changes included in each Chainflip release will be documented in this file.
[1.1.5] - 2024-01-02
Fixes
- Ensure all nodes consistently witness Bitcoin deposits (#4374)
[1.1.4] - 2023-12-21
Features
- More accurate btc fees (#4367)
Fixes
[1.1.3] - 2023-12-19
Fixes
- Remove pre-witnessing functionality (#4359)
[1.1.1] - 2023-12-13
Features
Fixes
- CFE Witnessing, use parent block metadata when decoding events (#4331)
- Sweeping before withdrawal (#4337)
Testing
- Latest_then adapter testing (#4322)
[1.1.0] - 2023-12-07
Features
- Handle failed vault transfers (#4304)
- Rpc to get list of supported assets. (#4222)
- Try-runtime loop (#4267)
- Original order size and accumulative fees (#4211)
- Store witness safety margins on SC (#4260)
- Simulate order book RPC (#4269)
- Upgrade_network command using prebuilt binaries (#4280)
- Try runtime in upgrade tool (#4282)
- Re-sign failed CCMs (#4277)
- (PRO-932): add fee info to cf_pool_orders tpc (#4295)
- Add max swap amounts to swapping env (#4306)
- Broadcast barrier (#4207)
- Add redeeming to LP API (#4292)
- Try-runtime build to CI (#4293)
- New Lp Interfaces (#4313)
- Lp_subscribe_order_fills (#4319)
Fixes
- Correlate new and old broadcast ids [(WEB-575)] (#4221)
- Build sisyphos with production profile (#4327)
- Substract broker fee from swap (#4226)
- Reduce permissions of backend token (#4265)
- No dup chain tracking submissions for reorgs on unsafe stream (#4268)
- Disable spec version check for try-runtime (#4272)
- Set_fees (#4255)
- Add missing migration hook (#4275)
- Use current MAB for bond (#4279)
- Typos (#4283)
- Make restricted address storage optional (#4285)
- Bump openssl as per cargo audit (#4289)
- Correct amm migration (#4288)
- Don't remove awaiting broadcast before retry (#4291)
- Lp logs in localnet (#4297)
- Ignore extra btc vouts (#4296)
- Transaction already in chain reported as success (#4300)
- Allow deposits to different addresses in the same tx (#4299)
- Don't block unfinalised dot source when can't find events (#4301)
- Benchmark (#4308)
- Update release version on runtime upgrade (#4281)
- CLI redeem amount rounding error (#4303)
- Current release version bumped checks (#4311)
- Threshold sig migrations (#4312)
- Add migration for PendingRequestInstructions (#4316)
- Broker endpoint as env var (#4317)
Refactor
[1.0.3] - 2023-12-07
Fixes
- Use current MAB to set bond (#4276)
[1.0.2] - 2023-11-21
Features
- Add MAB to current auction state (#4253)
- Add SECURITY.md file (#4263)
- Get new block streams from scc after creation (#4217)
- Prewitnessing uses unfinalised sc stream (#4220)
- Improve Dot Existential Deposit Test (#4195)
- Dynamic min authority count (#4224)
- User friendly error on asset parse failure (#4229)
- CLI generate keys outputs peer id (#4241)
- Maximum Swap amount (#4238)
Fixes
- All lp api return NumberOrHex (#4247)
- Revert restricted balances (#4237)
- Add missing spans in multisig logs (#4239)
- Remove bound addresses on account deletion (#4244)
- Remove existential deposit (#4243)
- Egress id race condition (#4235)
- Remove unwrap when getting tx receipt (#4231)
- Protect against double witnessing after safe mode (#4254)
- Runtime upgrade utils and migrations (#4258)
Documentation
- Deposit channel lifecycle (#4261)
Refactor
- Replace latest_finalized_hash with latest_finalized_header (#4206)
- Use btc rpc client for mempool tracker (#4227)
- Shared source inside chunked_by adapters (#4232)
[1.0.0] - 2023-11-03
Features
- Don't include dust btc amounts on rotation (#4063)
- Set pool fees (#4050)
- Ensure correct process termination in ingress/egress tracker (#4101)
- Ingress-egress tracking for DOT (#4121)
- Btc ingress egress tracking (#4133)
- Wait for registration before starting p2p (#4160)
- Add dry run CLI and use it in register_account_role (#3992)
- Shorter protocol id (#3906)
- New lp interface (#3886)
- More forgiving dot address parsing (#3938)
- (PRO-474) broadcast safe mode (#3902)
- Backup RPC (#3951)
- Governance-pre-authorised-calls (#3964)
- Threshold signing with specific fixed key (#3979)
- Add new archive node service file (#3937)
- Qualify nodes by minimum cfe version (#4003)
- Update substrate dependency (#3994) (#4004)
- Calculate ccm gas limit (#3935)
- [(PRO-823)] bind-nodes-executor-to-address (#3987)
- Witnesser dispatch call filter (#4001)
- Subcribe_price and depth rpc (#3978)
- Speedy scc ((PRO-777) (PRO-593)) (#3986)
- Add initiated_at block number for egresses (#4046)
- Simple pre-witnessing (#4056)
- Size limit for CCM (#4015)
- Add WS subscription for prewitnessed swaps (#4065)
- Added logging server port setting (#4076)
- Add account roles and LP info to custom RPC (#4089)
- Add external expiry block to event [(WEB-496)] (#4097)
- Add websocket eth subscription to deposit tracker (#4081)
- Catch dot port missing early (#4082)
- Add expiry block to liquidity channel event (#4111)
- Use snake case for lp api method names (#4108)
- Add restricted balances to AccountInfoV2 (#4048)
- Add flip balance to account info (#4119)
- Bouncer command for submitting runtime upgrades (#4122)
- Changelog config file. (#4095)
- Account_info_v2 APY (#4112)
- Required changes for multi engine release (#4123)
- Bouncer, auto bump spec version for runtime upgrades (#4143)
- Add ingress-egress documentation (#4140)
- Auto sweep earnings and accurate free balance rpc ((PRO-856)) (#4145)
- Nested polkadot fetch (#4006)
- Verify transaction metadata (#4078)((PRO-819))
- Automate compatible CFE upgrades (#4149)
- Restricted address should override bound restrictions (#4159)
- Improve environment RPC (#4154)
- Replace NumberOrHex (#4163)
- 3-node localnet (#4086)
- Update slashing values for mainnet (#4148)
- Optimistic polkadot rotation (#4182)
- Implement dry-run (#4155)
- P2p stale connections (#4189)
Fixes
- Correct Select Median Implementation (#3934)
- Ensure existing p2p connection is removed before reconnecting (#4045)
- Limit ZMQ Buffer Size for Outgoing Messages (#4051)
- Correctly handle peer updates while waiting to reconnect (#4052)
- Correct rotation transitions on failure (#3875)
- Start ARB network and increase polkadot rpc connection limit 🐛🚀 (#3897)
- Index and hash log (#3898)
- Strictly monotonic (#3899)
- Dot decode xt (#3904)
- Is_qualified should be called for all checks (#3910)
- Broadcast success should be witnessable after a rotation (#3921)
- Log error when we try to transfer more than we have fetched (#3930)
- Independent witnessing startup (#3913)
- Only burn flip if non zero (#3932)
- Duplicate logging (#3939)
- Update substrate ref to use Kademlia fix (#3941)
- Tweak cli generate-keys output (#3943)
- CanonicalAssetPair encoding issue (#3958)
- Prefer finalize_signed_extrinsic in engine (#3956)
- Scale encoding skip phantom data (#3967)
- Set limit order to zero (#3971)
- Clear failed broadcasters after abort (#3972)
- Submit eip1559 transactions (#3973)
- Release build (#3975)
- Fund-redeem test (#3982)
- Set network fee to 10bps (#4010)
- Use stderr for cli messages (#4022)
- Update cfe version record even if Idle (#4002)
- Use saturating sub while calculating change amount (#4026)
- Deposit channel expiry (#3998)
- Polkadot nonce issue (#4054)
- Warn -> info (#4060)
- Loop_select conditions ((PRO-587)) (#4061)
- Take settings backup only if migration required (#4077)
- Use percentage for eth fee history (#4071)
- Delete auction phase check for redeem cli command (#4090)
- Stop LPs without refund addresses for both assets from creating orders in a pool ((PRO-896)) (#4099)
- Stale error handling for unsigned extrinsics ((PRO-804)) (#4100)
- Don't abort broadcast if signers are unavailable (#4104)
- Don't egress empty all_batch calls (#4102)
- DOT swap output less than existential deposit (#4062)
- Account_info rpc address conversion (#4144)
- Add .rpc for consistency in engine settings (#4158)
- Use sc client to synchronise cfe upgrade (#4157)
- Don't ignore valid deposits when another one fails (#4165)
- Sweep broke lp returned events (#4176)
- Use
ubuntu:22.04
for docker containers 🐛 (#4188) - Handle relative path to db (#4164)
- Change panic to bail on LP and Broker API's (#4190)
Documentation
- Metadata fetching (#3900)
- Update funding readme with redemption restrictions (#3914)
- Amm and pools pallet (#4005)
[0.10.0] - 2023-10-18
Features
- Backup RPC
Operators can now configure a backup rpc provider for the engine. - Qualify nodes by minimum cfe version
Operators that have not upgraded their Engines can now be excluded from Keygen ceremonies. - Calculate ccm gas limit
Cross chain messages now set the correct gas limit on egress. - Executor address binding
Accounts can now be irreversibly bound to a specific Redemption Executor. - Witnesser dispatch call filter
Enables selective witnessing during safe mode. - Subcribe_price and depth rpc
Adds AMM price and depth rpc subscriptions. - Speedy SCC
Extrinsic submissions via the apis no longer wait for finality. - Add initiated_at block number for egresses
Egress event now contains the block number at which it occurred. - Size limit for CCM
Limits the size of cross-chain messages. - Required changes for multi engine release
Adds configuration for running two Engines in parallel.
Fixes
- Ensure existing p2p connection is removed before reconnecting
- Correctly handle peer updates while waiting to reconnect
- Clear failed broadcasters after abort
- Use stderr for cli messages
- Update cfe version record even if Idle
- State Chain client drives runtime upgrade activation