87985f1f1f
Types for ink! 3.0 ( #2693 )
...
* Updated ABI definitions & parsing
* Run type generation
* Definitions (should be ok-ish)
* Cleanup names
* Allow aliasses on structs (JSON parsing)
* Cleanup json mapping passing
* s/types/lookup/
* Parsing as per current output
* InkSelector
* MtRegistryIndex
* String lookup tests
* Remove serd ovverride comments (it works as-is)
* inkRegistry tests
* Extract primitive types
* s/ty/id/
* Start of parsing into types (actually to be TypeDef)
* Parsing
* stringify struct fields
* Small cleanups
* Add type index to project lookup
* Prefix with index
* Fix interface generation
* Latest contract metadata (#2118 )
* Add new (provisional) incrementer contract metadata
* Update and regenerate type definitions
* WIP: generate new format scale-info types
* WIP: implementing variants
* Implement variants
* Fix up type resolution
* Fix registry spec tests
* Fix lints and some tests
* Fix inkTypes tests
* Fix some lints
* Make imports same line like original
* Comment out (temporarily) sanitize import to make CI pass
* Sanitize
* Remove indices
* Remove index
* api-contract rewrite
* lint
* cleanup
* latest
* latest
* fix definition
* fiz definitions
* rv ink storage
* Update packages/api-contract/src/base/Contract.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* fixes
* rv scripts
* restore api-contract
* reorder definitions, fix ink storage
* fixes
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
Co-authored-by: Andrew Jones <ascjones@gmail.com >
2020-10-09 16:07:08 +02:00
Jaco Greeff
6a0063addd
Flatten displayType & encodeType into encodeTypeDef ( #2698 )
...
* Flatten displayType & encodeType into encodeTypeDef
* Remove to-be-replaced MetaRegistry tests (hardcoded results)
2020-10-09 15:13:52 +02:00
Jaco Greeff
10880cf038
Update Scheduler ( #2696 )
2020-10-09 13:19:09 +02:00
Github Actions
289782b3a0
[CI Skip] release/beta 2.1.2-8
...
skip-checks: true
2020-10-08 16:00:31 +00:00
Jaco Greeff
c3b7302dce
Support new contracts Schedule ( #2582 )
2020-10-08 17:51:47 +02:00
Jaco Greeff
28da228479
Handle Struct decoding from snake_case ( #2694 )
...
* Handle Struct decoding from snake_case
* Update packages/types/src/codec/Struct.spec.ts
2020-10-08 13:40:31 +02:00
Github Actions
adf3d15c86
[CI Skip] release/beta 2.1.2-6
...
skip-checks: true
2020-10-08 11:36:50 +00:00
Jaco Greeff
8b54a22914
Introduce OriginCaller (& apply to Scheduler) ( #2692 )
...
* Introduce OriginCaller (& apply to Scheduler)
* RawOrigin
* Create OriginCaller type dynamically
* Update packages/metadata/src/Metadata/v12/toLatest.ts
2020-10-08 13:27:50 +02:00
Jaco Greeff
acb565d46e
Allow null input on Text values ( #2682 )
...
* Allow `null` input on `Text` values
* Update test
* Add to decode section
* Revert result
2020-10-05 12:54:04 +02:00
Jaco Greeff
95c4f03bc3
s/TRANSACTION_/EXTRINSIC_/ ( #2676 )
...
* s/TRANSACTION_/EXTRINSIC_/
* Bump deps
2020-10-04 10:26:14 +02:00
Jaco Greeff
d202287889
Remove all class summary links ( #2674 )
2020-10-02 14:27:08 +02:00
Jaco Greeff
5577723b73
Add limit protection for Bytes & Text ( #2670 )
...
* Add limit protection for Bytes & Text
* Limites as K
* Adjust limits upwards
2020-10-02 13:11:25 +02:00
André Silva
73ffb034d0
add secondary_vrf field to babe EpochAuthorship ( #2656 )
2020-09-27 20:13:25 +02:00
Jaco Greeff
8631f68ba7
Bump common ( #2655 )
...
* Bump common
* Update tests
2020-09-27 11:01:33 +02:00
Jaco Greeff
cb93cb34b7
Drop support for Extrinsic V1, V2 & V3 ( #2638 )
...
* Drop support for Extrinsic V1 & V2
* Update interfaces
* Swap default to V4
* Remove V1/V2 extrinsic tests
* Fix v3 toU8a
* Fix Decorated tests for v4
* V3 payload extends v4 payload
* Revert "V3 payload extends v4 payload"
This reverts commit b1e546aa08fe1027aa77a235fd3b98441c426812.
* Drop extrinsic v3
* Update CHANGELOG.md
2020-09-26 12:02:27 +02:00
Github Actions
ae17338520
[CI Skip] release/beta 1.35.0-beta.15
...
skip-checks: true
2020-09-25 17:41:01 +00:00
Jaco Greeff
19d6165bda
Add PalletVersion struct ( #2652 )
2020-09-25 19:32:33 +02:00
Jaco Greeff
5ce3524ccd
Drop Metadata V0-V8 ( #2634 )
...
* Drop MetadatV0
* Apply suggestions from code review
* Restore asV1
* Remove V0 comment
* Handle DoNotConstruct in enum
* No imports from DoNotConstruct
* Merge & re-generate
* Attempt empty construction
* Drop Metadata from 0-4
* CHANGELOG
* assert(5)
* BE vs LE
* Metadataall to no-construction
* Empty U8a create
* Remove old comment
* Santize handling
* Update CHANGELOG.md
* Drop support for Metadata < 9
* Remove old pre-9 definitions
* Update CHANGELOG.md
* CHANGELOG
* Remove v8-era tests
* v8 tests
2020-09-25 16:32:48 +02:00
Jaco Greeff
7fd45f63df
Drop support for linked lists ( #2643 )
...
* Drop support for linked lists
* CHANGELOG
* Remove all .linked. checks
2020-09-25 10:19:28 +02:00
Jaco Greeff
0c4cc51f74
Perbill formatting with rawType equality ( #2646 )
...
* Perbill formatting with rawType equality
* Balance toHuman() check
* Formatter lookup
* typing
* Merge
* Better Compact detection
2020-09-24 18:48:24 +02:00
Github Actions
77f37f387a
[CI Skip] release/beta 1.35.0-beta.3
...
skip-checks: true
2020-09-23 13:27:55 +00:00
Jaco Greeff
9f4007bd4b
RefCount change to u32 ( #2635 )
2020-09-23 15:17:12 +02:00
Github Actions
004f9153ab
[CI Skip] release/beta 1.35.0-beta.1
...
skip-checks: true
2020-09-22 10:28:49 +00:00
Jaco Greeff
3de336fdff
Add support for grandpa_proveFinality RPC ( #2633 )
...
* Add support for grandpa_proveFinality RPC
* CHANGELOG
2020-09-22 12:18:41 +02:00
Github Actions
67e1e07714
[CI Skip] release/beta 1.35.0-beta.0
...
skip-checks: true
2020-09-22 10:09:16 +00:00
Jaco Greeff
b4cae14836
Add Bounty type definitions ( #2632 )
...
* Add Bounty type definitions
* CHANGELOG
2020-09-22 11:58:58 +02:00
Jaco Greeff
172143f2eb
1.34 ( #2628 )
2020-09-21 09:16:45 +02:00
Wei Tang
af074500b6
Add support to extract PoW author ( #2627 )
...
* Add PoW engine ID and author fetching logic
* Fix Pow CID order
2020-09-20 18:00:21 +02:00
Jaco Greeff
eda5edbd40
Explicit Decorate creation with Metadata ( #2622 )
...
* Explicit Decorate creation with Metadata
* typo
* Update generator
* Adjust Registry findMetaError sig
2020-09-18 07:14:11 +02:00
Jaco Greeff
b56c1a8282
Explicit tie of metadata to registry (not implicit) ( #2621 )
...
* Explicit tie of metadata to registry (not implicit)
* Update type generation
* Test updates
* Revert non-problematic
* Cleanup mocks
* Updata metadata tests
* CHANGELOG
* linting
2020-09-17 23:15:09 +02:00
Jaco Greeff
cdd6544e20
SPDX ( #2619 )
2020-09-17 16:31:06 +02:00
Jaco Greeff
2edad85250
Refresh all type decorations on upgrade ( #2615 )
...
* Refresh all type decorations on upgrade
* Cleanups
* calls/events not part of init
2020-09-16 11:32:52 +02:00
Jaco Greeff
7a5a975048
Sameness check for v12 indexes ( #2609 )
...
* Sameness check for indexes
* Update with older support
2020-09-15 14:27:43 +02:00
Jaco Greeff
dac3261a16
Support for Metadata v12 ( #2599 )
...
* Support for Metadata v12
* v12 static data
* Treat 255 as reserved
* Point static to v12
2020-09-14 12:35:30 +02:00
Jaco Greeff
0a8d2e5ac1
Allow as-signed paymentInfo on any extrinsic ( #2593 )
...
* Allow as-signed paymentInfo on any extrinsic
* Bumps
2020-09-09 10:43:59 +02:00
Jaco Greeff
b579b18fad
Adjust toHuman display ( #2579 )
...
* Adjust toHuman display
* revert args breakdown
2020-09-04 07:55:13 +02:00
Jaco Greeff
6ae75ba92e
Bump dev ( #2576 )
...
* Bump dev
* type linting
* linting
* linting
* missed
2020-09-03 15:47:29 +02:00
Jaco Greeff
9188e29dcc
Add grandpa_subscribeJustifications ( #2562 )
2020-09-01 12:54:32 +02:00
Github Actions
7ea89950fe
[CI Skip] release/beta 1.32.0-beta.6
...
skip-checks: true
2020-09-01 10:04:40 +00:00
Jaco Greeff
7a1089df79
Cater for nested aliassed types ( #2560 )
...
* Cater for nested aliassed types
* linting
2020-09-01 11:52:11 +02:00
Github Actions
2e125c5542
[CI Skip] release/stable 1.31.2
...
skip-checks: true
2020-08-31 17:30:12 +00:00
Jaco Greeff
3d67b75059
Proxy Announcement override ( #2553 )
2020-08-31 19:17:48 +02:00
Jaco Greeff
533f9ce249
Explicit delay for per-hash single queries ( #2548 )
...
* Explicit delay for per-hash single queries
* Expand delay
* Update packages/rpc-core/src/index.ts
2020-08-31 15:20:06 +02:00
Jaco Greeff
6e6fa4a97c
Known upgrade points for on-chain version skip ( #2545 )
...
* Known upgrade points for on-chain version skip
* Update packages/types-known/src/index.ts
* Update packages/api/src/base/Init.ts
* Actual known upgrade blocks for Polkadot & Kusama
* Update with known Kusama upgrade history
* linting
2020-08-31 13:09:52 +02:00
Jaco Greeff
e88ebf7b2e
Support Vec .concat ( #2537 )
...
* Support Vec .concat
* CHANGELOG
2020-08-30 12:40:20 +02:00
Jaco Greeff
7876bb9ced
Add isHistoric flags to RPC with hash params ( #2535 )
...
* Add isHistoric flags to RPC with hash params
* Update packages/types/src/interfaces/chain/definitions.ts
* Apply suggestions from code review
* Transparently swap registry on RPC layer
* Simplify (& linting fixes)
* Cleanups
* CHANGELOG
2020-08-30 12:12:18 +02:00
Jaco Greeff
c4323d5e94
Add swapRegistry(hash?) to initlize clean registry ( #2534 )
...
* Add swapRegistry(hash?) to initlize clean registry
* Cater for genesisHash queries
2020-08-29 15:46:42 +02:00
Github Actions
9c1327ea22
[CI Skip] release/beta 1.31.0-beta.8
...
skip-checks: true
2020-08-26 16:56:17 +00:00
Jaco Greeff
9f195e9402
Update RewardDesitination enum (any payout) ( #2474 )
2020-08-26 18:43:51 +02:00
Jaco Greeff
35c37aa66c
Allow AccountId null in constructor
2020-08-26 12:47:15 +02:00