Skip to content
Unverified Commit b4a87819 authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

fix!(calc): fee calculation (#974)



* fix(fee): fee calculation

* feat(calc): add calc_actual_fee

* export mod

* revert some changes

* fix spacing

* fix test warnings

* cleanup

* organize calculation

* more cleanup

* update sp_arithmetic to 5.0.0

* fix small deprecation grumble in calc payout

* cleanup implementation

* Add failing fee calc examples to tests

* more comments on test fee calcs

* Fix up tests and fee calc

* change to calc_partial_fee, and add acala test

* remove calc_fee

* update wasm

* fix small comment blunder

* update wasm-bindgen

* remove impl, and unwraps, replace with Result

* rebuild wasm

Co-authored-by: default avatarJames Wilson <[email protected]>
parent 69716c1b
Pipeline #207624 passed with stages
in 18 minutes and 13 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment