Skip to content
  1. Oct 27, 2021
  2. Oct 19, 2021
  3. Oct 15, 2021
  4. Oct 14, 2021
  5. Oct 12, 2021
  6. 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
  7. Oct 01, 2021
  8. Sep 19, 2021
  9. 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
  10. Sep 12, 2021
  11. Sep 04, 2021
  12. 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
  13. Aug 12, 2021
  14. Aug 09, 2021
  15. Aug 06, 2021
  16. Aug 05, 2021
  17. Jul 20, 2021
  18. Jul 15, 2021
  19. Jul 07, 2021
  20. Jul 06, 2021
  21. Jun 28, 2021
  22. Jun 22, 2021
  23. Jun 18, 2021
  24. Jun 17, 2021
  25. Jun 16, 2021
  26. Jun 13, 2021
  27. Jun 12, 2021
  28. Jun 10, 2021
  29. Jun 08, 2021
    • JesseAbram's avatar
      Add session weight (#477) · 37e474a9
      JesseAbram authored
      
      
      * session weight
      
      * decouple session benchmarking and collator selection
      
      * removed mock
      
      * licensing
      
      * benchmarking script
      
      * set benchmarking into runtime
      
      * Update scripts/benchmarks.sh
      
      * real weights
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      37e474a9
    • cheme's avatar
      Compact proof. (#295) · e8b4b364
      cheme authored
      
      
      * compact, need to be made optional and look into/compress child trie
      roots/state.
      
      * proto with child trie support
      
      * Missing set_offchain_storage overload.
      
      * right name
      
      * Ignore offchain indexing in validation function.
      
      * patch trie-db
      
      * decompress from iter
      
      * use compressed proof
      
      * remove wasm blob from proof (no inject plugged yet)
      
      * change lock
      
      * update trie
      
      * change in toml
      
      * Revert "change in toml"
      
      This reverts commit e588583b79e1a64e2a54157b40968aa6b586fbbe.
      
      * use patch to branches
      
      * i
      
      * i:wq
      
      * switch branch
      
      * ii
      
      * ok, needed to patch the runtime by putting substrate patch in polkadot
      project.
      
      * test passing with this conf
      
      * actual lazy code fetch
      
      * patch issue
      
      * Code reorg
      
      * restore commented tests.
      
      * update deps.
      
      * remove polka patch
      
      * fixes
      
      * remove patch
      
      * revert cargo.lock
      
      * cargo update -p sp-trie polkadot-service
      
      * fix collator test (using parent state root).
      
      * Update pallets/parachain-system/src/validate_block/implementation.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Remove encode_witness test function.
      
      * Update pallets/parachain-system/src/validate_block/implementation.rs
      
      * Fix compilation
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e8b4b364
  30. Jun 07, 2021
  31. Jun 04, 2021
  32. 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