Qinxuan Chen
bc0520913d
Migrate pallet-transaction-payment to new pallet attribute macro ( #9087 )
...
* Migrate pallet-transaciont-payment to new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove generic from genesis config
* fix test
* fix tests
* fix deprecated
* fix tests
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-06-25 03:23:36 +00:00
Liu-Cheng Xu
65569620c2
Add payment_queryFeeDetails RPC ( #7692 )
...
* Return FeeDetails in compute_fee_raw()
* Add payment_queryDetails rpc
* Simplify serde attribute a bit
* Fix line width check
* Use saturating_add()
* Move transaction payment rpc types to types.rs
* Add file header
* Fix test
* Update Cargo.lock
* Nit
* Apply the review suggestions
* .
* .
* Fix serde
* Fix rust doc
* .
* Update frame/transaction-payment/src/types.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Use NumberOrHex in fee details RPC
* Address review feedback
* Nits
* Update some docs
* Address review
* Update frame/transaction-payment/src/types.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Happy 2021
* Nit
* Address code review
* Remove needless bound
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-01-14 11:43:53 +00:00
Bastian Köcher
e3e651f72c
Happy new year ( #7814 )
...
* Happy new year
Updates the copyright years and fixes wrong license headers.
* Fix the template
* Split HEADER into HEADER-APACHE & HEADER-GPL
2021-01-04 09:03:13 +00:00
Bastian Köcher
02c879ec49
Fix transaction payment runtime api ( #6792 )
...
The transaction payment runtime api used its own extrinsic generic
parameter. This is wrong, because this resulted in using always the
native extrinsic. If there was a runtime upgrade that changed the
extrinsic in some way, it would result in the api breaking. The correct
way is to use the `Extrinsic` from the `Block` parameter. This is on the
node side the opaque extrinsic and on the runtime side the real extrinsic.
2020-08-03 08:46:53 +00:00
joe petrowski
dd7216af4c
clarify docs on query_info and partial_fee ( #6090 )
2020-05-21 16:23:51 +02:00
Benjamin Kampmann
be8c96adec
Relax substrate licensing scheme ( #5947 )
2020-05-15 13:21:56 +02:00
Xiliang Chen
35b5cdd29b
serialize partial_fee into string ( #4898 )
...
* serialize partial_fee into string
* implement deserialize
* bump version
2020-02-12 13:16:00 +01:00
Shawn Tabrizi
7efa62725e
Update copyright year ( #4532 )
2020-01-05 14:05:44 +01:00
Tomasz Drwięga
8778ca7dc8
[big refactor] Remove crate aliasing. ( #4395 )
...
* Rename: Phase 1.
* Unify codec.
* Fixing: Phase 2
* Fixing: Phase 3.
* Fixing: Phase 4.
* Fixing: Phase 5.
* Fixing: Phase 6.
* Fixing: Phase 7.
* Fixing: Phase 8. Tests
* Fixing: Phase 9. Tests!!!
* Fixing: Phase 10. Moar tests!
* Finally done!
* More fixes.
* Rename primitives:: to sp_core::
* Apply renames in finality-grandpa.
* Fix benches.
* Fix benches 2.
* Revert node-template.
* Fix frame-system in our modules.
2019-12-16 20:36:49 +08:00
Weiliang Li
6da9f59d72
Rename: primitives/sr-std -> primitives/sp-std ( #4327 )
...
* primitives/sr-std -> primitives/std
* fix
* fix conflict
* rstd -> sp-std
* git mv
* fix review
* fix merge
2019-12-10 08:26:27 +01:00
Tomasz Drwięga
c42cdf185c
Use balance capped to u64 for transaction payment RPC. ( #4290 )
...
* Use balance capped to u64
* Add debug.
2019-12-05 13:01:40 +01:00
Benjamin Kampmann
927e13c13a
The crate rename ( #4223 )
...
* Adding script for rename, could be applicable for nodes on top of it, too
* add stderr and gitlab ci features
* apply script
* fix now minor details in expected stderr
* Update the Cargo.lock
* fix name: sc-transaction -> sc-tracing
* fix rename in script, too
2019-12-02 11:23:53 +01:00
Shawn Tabrizi
c9175b59ff
Rename Palette to FRAME ( #4182 )
...
* palette -> frame
* PALETTE, Palette -> FRAME
* Move folder pallete -> frame
* Update docs/Structure.adoc
Co-Authored-By: Benjamin Kampmann <ben.kampmann@googlemail.com >
* Update docs/README.adoc
Co-Authored-By: Benjamin Kampmann <ben.kampmann@googlemail.com >
* Update README.adoc
2019-11-22 19:21:25 +01:00