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