Skip to content
  1. Oct 11, 2021
    • Alexander Popiak's avatar
      Asset Transaction Payment (#488) · 3b1446d7
      Alexander Popiak authored
      
      
      * use new pallet name based genesis config names
      
      * use custom substrate and update polkadot
      
      * add initial asset-tx-payment pallet
      
      * update cargo.toml
      
      * add (failing) tests
      
      * dispatch Calls instead of using Pallet functions
      
      * fix fee-refund split
      
      * add test for transaction payment with tip
      
      * update cargo.lock
      
      * update cargo.lock
      
      * remove mint workaround and use Mutable trait
      
      * extract fee charging logic into OnChargeAssetTransaction trait
      
      * use asset-tx-payment in statemint runtime
      
      * make extrinsics public
      
      * make extrinsics public
      
      * use ChargeAssetIdOf type alias
      
      * update deps
      
      * move back to AssetIdOf
      
      * remove extra rpc_http_threads
      
      * use different substrate branch
      
      * Update pallets/asset-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update pallets/asset-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * remove overrides
      
      * override substrate deps (again)
      
      * increment spec_version and transaction_version (because we change transaction signing)
      
      * remove direct dependency on pallet-balances from asset-tx-payment
      
      * remove Assets pallet visibility workaround
      
      * add docs and comments
      
      * remove unused imports
      
      * more docs
      
      * add more debug asserts to document assumptions
      
      * add test for tx payment from account with only assets
      
      * add test for missing asset case
      
      * extend test to cover non-sufficient assets
      
      * add a test for Pays::No (refunded transaction)
      
      * add type alias comments
      
      * add more doc comments
      
      * add asset-tx-payment to statemine and westmint
      
      * improve formatting
      
      * update license headers
      
      * add default implementation of HandleCredit for ()
      
      * update doc comments and format imports
      
      * adjust Cargo.toml
      
      * update cargo.lock
      
      * cargo fmt
      
      * cargo fmt
      
      * cargo fmt
      
      * cargo +nightly fmt
      
      * add type alias for OnChargeTransaction
      
      * cargo +nightly fmt
      
      * convert ChargeAssetTxPayment from tuple struct to regular struct
      
      * add more comments
      
      * formatting
      
      * adjust imports and comment
      
      * cargo +nightly fmt
      
      * reformat comment
      
      * use ChargeTransactionPayment's own get_priority + update Substrate
      
      * update Substrate and Polkadot
      
      * cargo fmt
      
      * cargo fmt
      
      * add OperationalFeeMultiplier to asset tx payment tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * add doc links
      
      * charge a minimum converted asset fee of 1 if the input fee is greater zero
      
      * cargo +nightly fmt
      
      * bump spec and transaction version
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      3b1446d7
    • Alexander Popiak's avatar
      Upstream Statemine v4 Changes (#649) · 2647053f
      Alexander Popiak authored
      
      
      * bump runtime spec version
      
      * remove applied runtime migrations
      
      * bump transaction_version
      
      necessary because of extrinsic API changes to pallet-xcm
      https://github.com/paritytech/polkadot/pull/3693
      
      * Fix Benchmarks for Statemine-V4 release (#639)
      
      * register validators
      
      * register_as_candidate & leave_intent fixed
      
      * new_session benchmark fixed
      
      * intent_leave_modified
      
      * clean up
      
      * clean up
      
      * benchmark script updated
      
      * update cargo.lock
      
      * done
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      * Version bump (#648)
      
      * Version bump
      
      fix #646
      
      * Revert "Version bump"
      
      This reverts commit 07517e0e76a37a1dd67176fec0524d0211666635.
      
      * Bump polkadot-collator version
      
      * Update polkadot-parachains/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update deps
      
      * Bump version to 4.0.0
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * cargo toml fix
      
      * update deps and remove DisabledValidatorThreshold
      
      * cargo +nightly fmt
      
      * fix compile error
      
      * fix client tests after Polkadot update
      
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      Co-authored-by: default avatarChevdor <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      2647053f
  2. Oct 05, 2021
  3. Oct 04, 2021
  4. Sep 17, 2021
  5. Sep 16, 2021
    • Chevdor's avatar
      ci: add quick-check with rustfmt (#615) · 6b20f7a2
      Chevdor authored
      
      
      * ci: add quick-check with clippy and rustfmt
      
      * chore: rustfmt round
      
      * chore: set the same rustfmt config than substrate
      
      * chore: fix formatting
      
      * cI: remove clippy
      
      * ci: switch to nightly for the checks
      
      * ci: fix toolchains and naming
      
      * ci: Limit the check to formatting
      
      * chore: fix formatting
      
      * Update .rustfmt.toml
      
      * Update .rustfmt.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      6b20f7a2
    • Andrew Jones's avatar
      Metadata v14 (companion to #3336) (#564) · e3eb3a0a
      Andrew Jones authored
      
      
      * Remove event pallet::metadata attributes
      
      * Add scale-info deps, TypeInfo derives, update call variants
      
      * Update metadata runtime APIs
      
      * Add missing scale_info dependency, update rococo runtime API
      
      * Add missing scale_info dependency
      
      * Remove pushed diener patches
      
      * Cargo.lock
      
      * Add missing scale-info dependencies
      
      * Fixes
      
      * Statemint runtime fixes
      
      * Call struct variant empty matches
      
      * Add missing scale-info dependency
      
      * Fixes
      
      * scale-info 1.0
      
      * cargo update -p xcm
      
      * update lock
      
      * Update Cargo.lock
      
      * update to latest polkadot
      
      * remove rpc_http_threads
      
      https://github.com/paritytech/substrate/pull/9737
      
      * replace task executor with tokio handler
      
      https://github.com/paritytech/substrate/pull/9737
      
      * fix test compilation?
      
      * Update Cargo.lock
      
      * cargo update
      
      * remove unused
      
      * Update substrate and polkadot
      
      * Update test/client/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e3eb3a0a
  6. Sep 04, 2021
  7. Aug 28, 2021
    • Gavin Wood's avatar
      Companion for #3629 (XCM v2) (#571) · 9cc27783
      Gavin Wood authored
      * Update .gitignore and bring into line with XCM v2's SendError
      
      * type
      
      * Some work
      
      * Weighed responses
      
      * extra fields to xcm pallet
      
      * Fixes
      
      * Bump
      9cc27783
  8. Aug 26, 2021
  9. Aug 17, 2021
  10. Aug 13, 2021
  11. Aug 12, 2021
  12. Aug 09, 2021
  13. Aug 06, 2021
  14. Aug 05, 2021
  15. Jul 20, 2021
  16. Jul 16, 2021
  17. Jul 15, 2021
  18. Jul 06, 2021
  19. Jul 05, 2021
  20. Jul 02, 2021
    • Bruno Škvorc's avatar
      Propose bumping StringLimit to 128 bytes (#516) · ee835beb
      Bruno Škvorc authored
      
      
      * Propose bumping StringLimit to 64 bytes
      
      The StringLimit of 50 bytes is too short for useful hashes of different protocols:
      
      - When using IPFS, the hash is 46 bytes. With a protocol prefix and type prefix (IPFS vs IPNS) it becomes: `ipfs://ipfs/QmPK1s3pNYLi9ERiq3BDxKa4XosgWwFRQUydHUtz4YgpqB` or 59 bytes.
      - On arweave, the hash is 43 bytes. Prefixed with just `arweave://` bumps it up to 53: `arweave://BNttzDav3jHVnNiV7nYbQv-GY0HQ-4XXsdkE5K9ylHQ`.
      - On Sia, with 46 char hashes, adding `sia://` as the protocol to use will bump it past 50: `sia://GACjmEWXmYF1N3Rc-PyjN304-8M0zOXHYzAXY9222xkGhA` (52)
      
      As such, we feel that 64 bytes is a reasonable minimum for the `StringLimit`.
      
      * Update lib.rs
      
      * Add different const for `UniquesStringLimit`
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      ee835beb
  21. Jun 28, 2021
  22. Jun 22, 2021
  23. Jun 20, 2021
  24. Jun 17, 2021
  25. Jun 16, 2021
  26. Jun 12, 2021
  27. Jun 08, 2021
  28. Jun 07, 2021
  29. Jun 04, 2021
  30. Jun 02, 2021
  31. Jun 01, 2021
    • Gavin Wood's avatar
      Add Statemint (#452) · eaa9f646
      Gavin Wood authored
      
      
      * Add Statemint
      
      * Versioning.
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Benchmarking
      
      * kick patch (paritytech/statemin#88)
      
      * Westmint Chain Spec (paritytech/statemint#90)
      
      * Tidy the common .toml
      
      * Update weights
      
      * add westmint sudo key comment
      
      * Port consensus stuff
      
      * fix typo
      
      * fix typo ... again
      
      * Recognise Westmint
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      eaa9f646