Skip to content
  • Dan Forbes's avatar
    Update fee calculation logic (#50) · f5b84277
    Dan Forbes authored
    * Update fee calculation logic
    
    * Address code review by @athei and @amaurymartiny
    
    * Do not pull raw/parsed extrinsics into separate variables
    
    * Remove Address and LookupSource types per @amaurymartiny
    
    * Bump Polkadot JS deps and remove WeightToFeeCoefficient type
    
    * Use variables consistently
    
    * Clean up diff
    
    * Update lockfile, formatting changes
    
    * Update fee calculation logic
    
    * Rename variables, better comments (#54)
    
    * Upgraded to latest polkadot API release
    
    * Fixes for weight calculation
    
    Not yet functional. Some rounding differences are still present.
    
    * Calculate extrinsic fees in rust
    
    This also removes the contraint that only one
    term of the weight to fee polynomial is used.
    
    * Fix CI
    
    * Reproduce fixed128 bug that was deployed to polkadot v0.
    
    * Support kusama without queryInfo
    
    * Do not fail the whole request when runtime is not supported
    
    * Do not send per block parameters for every extrinsic to wasm
    
    * Install wasm-pack through node
    
    * Remove no longer needed bn.js dependency
    
    * Revert "Install wasm-pack through node"
    
    This reverts commit d0986729
    
    .
    
    Co-authored-by: default avatarAmaury Martiny <[email protected]>
    Co-authored-by: default avatarAlexander Theißen <[email protected]>
    f5b84277
Analyzing file…