Jaco Greeff
f34d48ad09
3.2.2 ( #2988 )
...
* 3.2.2
* Patch correctly
2020-12-28 10:07:58 +01:00
Jaco Greeff
0967dbba6b
Add api.{errors, events, query, tx}.<method>.<section>.is(...) ( #2984 )
...
* api.{event, error}.<section>.is<Type>
* Full generation, with checkTypes
* .is
* Extrinsic with arg type definition
* decorate is
* Call is
* Remove hasOrigin
* Renames
* Query is
* Fix extrinsic is
* Backwards compatibility for generated types
* event with optional AnyTuple
* Cleanups
* Cleanups
* Adjust
* Cleanup
2020-12-27 11:15:02 +01:00
yjh
1f39ad264a
fix MetadataVersioned.asV12 ( #2983 )
2020-12-25 09:00:51 +01:00
Jaco Greeff
987896e323
Adjust for last remaining circular deps ( #2971 )
...
* Adjust for last remaining circular deps
* Remove RegistryMetadata duplication
* Update packages/typegen/scripts/polkadot-types-internal-interfaces.js
* typo
* Direct decorateExtrinsics import
2020-12-21 17:17:20 +01:00
Jaco Greeff
0b11fc98b9
Update to latest Substrate metadata ( #2967 )
...
* Update to latest Substrate metadata
* Update bounties derive
* Cleanups
* Update bounty location
2020-12-20 10:36:38 +01:00
Jaco Greeff
33fd09c053
Bump dev
2020-12-18 11:33:28 +01:00
Jaco Greeff
aae4671db5
Bump common, detectPackage with callback
2020-12-17 12:49:05 +01:00
Jaco Greeff
d6106b3253
Allow detectPackage with import.meta.url ( #2962 )
...
* Allow detectPackage with import.meta.url
* Fix detectPackage import
* header naming
2020-12-16 15:46:02 +01:00
Jaco Greeff
1d3dfc77a3
Use package-info (name/version only) for detectPackage ( #2955 )
...
* Use package-info (name/version only) for detectPackage
* Fixed @polkadot/dev?
2020-12-15 14:52:27 +01:00
Jaco Greeff
67d4637786
Bump common ( #2947 )
2020-12-13 16:55:38 +01:00
Jaco Greeff
948d8cccc1
Swap to Metadata <-> registry path imports ( #2934 )
...
* Swap to Metadata <-> registry path imports
* Call circulars
2020-12-09 12:09:20 +01:00
Jaco Greeff
0cb7b34ff0
Update with new consumed Weight structures ( #2928 )
...
* Update with new consumed Weight structures
* dispatch(Info, Error} optional in result
* Update for maximumBlockWeight
2020-12-08 17:26:13 +01:00
Jaco Greeff
8e6a1c8fb1
Bump dev (sort imports) ( #2923 )
...
* Bump dev (sort imports)
* Resort
* Adjust ApiInterfaceRx
2020-12-07 16:26:19 +01:00
Jaco Greeff
8b4d3872d7
Bump metadata (w/ AssetBalance, AssetDetails) ( #2917 )
...
* Bump metadata (w/ AssetBalance, AssetDetails)
* Bluperint for new-style with salt as default
* Use TBalance
* Easier overrides
* Balance
* Build types
2020-12-06 11:31:54 +01:00
Jaco Greeff
0e52e8fe23
Some type imports (interfaces) ( #2887 )
...
* Some type imports (interfaces)
* Additional
* Additional
* Small movements/fixes
* Additional
* Additional
* Unsaved...
2020-12-02 10:12:19 +01:00
Jaco Greeff
c4470eba14
2.7 ( #2854 )
2020-11-16 10:30:33 +01:00
Jaco Greeff
f810e65ea2
Additional enum tests ( #2842 )
...
* Additional enum tests
* Adjust compare files
* Remove debug log
2020-11-12 14:45:32 +01:00
Jaco Greeff
98a2ef9d72
Support ABI files with wasm (.contract output) ( #2841 )
...
* Support ABI files with wasm (.contract output)
* AbiBase exports
* Additional default exports
* Remove any
* Fix build
2020-11-12 12:23:28 +01:00
Jaco Greeff
79e99fd6e3
Dev bump ( #2839 )
...
* Adjust internal generic imports
* Update dev
* Adjust primitive imports
* Class exports has uppercase variant
* common
* to* chenges
* Adjust EventData for registry creation
2020-11-11 12:58:35 +01:00
Jaco Greeff
5a1fd4a1bb
Adjust internal generic imports ( #2838 )
2020-11-11 09:40:35 +01:00
Jaco Greeff
a8a956c85d
Re-enable esnext (with mjs) ( #2836 )
...
* Re-enable esnext (with mjs)
* Updates
* Adjust
2020-11-10 13:58:11 +01:00
Jaco Greeff
af9437f80a
Adjust create imports ( #2834 )
...
* Adjust create imports
* Restore create root exports
* Adjust unsafe creation
2020-11-10 11:14:38 +01:00
Jaco Greeff
e6dbbfae34
Adjust interfaces for cleaner esnext usage ( #2833 )
...
* Adjust interfaces for cleaner esnext usage
* Swap out esnext
2020-11-09 23:17:52 +01:00
Jaco Greeff
21d0622f84
Bump common ( #2832 )
...
* Bump common
* Update for new common non-default exports
* Don't export createSubmittable
* Adjust exports
* default export adjustments
* Some additional non-default exports
2020-11-09 19:41:29 +01:00
Jaco Greeff
46fb44d3d8
Bump metadata ( #2826 )
2020-11-09 10:12:26 +01:00
Jaco Greeff
ea3ee428d8
Rework asLatest update ( #2802 )
...
* Revert "[CI Skip] release/beta 2.4.2-10"
This reverts commit 5cb1c2d33a .
* Revert "Use asLatest in metadata extraction (#2800 )"
This reverts commit 600666de1c .
* Bumps
* Expansion
* Flatten
* Metadata class imports
* Cleanup Decorate exports
* Move Metadata to top-level
* Swap logger on ABI
* Adjust imports
* Cleanups
* Updates
2020-10-29 11:59:37 +01:00
Jaco Greeff
600666de1c
Use asLatest in metadata extraction ( #2800 )
...
* User asLatest in metadata extraction
* Cleanup Decorated, bump
* linting
* cleanup decorate
* Remove registry arg from Decorated
2020-10-29 09:05:53 +01:00
Jaco Greeff
1476e5e5e9
Bump common, string* with String ( #2799 )
...
* Bump common, string* with String
* Linting, TS 4.0.5
2020-10-28 14:28:49 +01:00
Jaco Greeff
bb7b94dc35
Use logger in error/warning messages ( #2790 )
...
* Use logger in error/warning messages
* Update packages/types/src/codec/BTreeSet.ts
* Update expectation
* Some additional type tests
2020-10-27 13:14:03 +01: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
cc926596e5
2.1 ( #2681 )
2020-10-05 10:24:25 +02:00
Jaco Greeff
929a2854bd
Bump metadata ( #2658 )
2020-09-28 08:00:23 +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
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
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
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
24d8915005
toCallsOnly for v12 ( #2606 )
2020-09-14 22:37:59 +02:00
Jaco Greeff
918bb73547
Ensure that ignored map params yield an error on iterKey ( #2605 )
2020-09-14 16:05:37 +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
6ae75ba92e
Bump dev ( #2576 )
...
* Bump dev
* type linting
* linting
* linting
* missed
2020-09-03 15:47:29 +02:00
Jaco Greeff
eb6b3c5bd4
Align costs typing with queries ( #2564 )
...
* Align costs typing with queries
* better...
* ... and better
* ... progress
* better, down to 8
* ... down to 3
* ... 2
* Down to 1
* It builds.
* ... it really builds
2020-09-02 12:19:09 +02:00
Jaco Greeff
7a1089df79
Cater for nested aliassed types ( #2560 )
...
* Cater for nested aliassed types
* linting
2020-09-01 11:52:11 +02:00
Jaco Greeff
6bd10daf43
Bump static metadata ( #2557 )
2020-08-31 23:06:18 +02:00
Jaco Greeff
956e173323
Metadata bump ( #2451 )
2020-07-27 12:06:28 +02:00
Jaco Greeff
658dda66a4
1.25 ( #2440 )
...
* 1.25
* Bump metadata
2020-07-20 09:25:04 +02:00
Jaco Greeff
877eb11717
Swap releases type to shared enum ( #2388 )
...
* Swap releases type to u8
* Shared enum for releases
* Update metadata for new names
2020-06-23 17:40:15 +02:00
Jaco Greeff
4b55f1be93
Babe Equivocation ( #2374 )
...
* Babe Equivocation
* metadata field rename to GrandpaEquivocationProof
2020-06-23 16:46:26 +02:00