Jaco Greeff
33924367bc
TreasuryProposal ( #825 )
2019-04-05 23:32:38 +02:00
Jaco Greeff
8e6c5f693d
Contracts attachment ( #818 )
...
* WIP... just getting ti to work
* Export ContractAbi from types
* e2e testing
* Add selector encoding (calls)
* Linting
* Exapnd e2e tests
* TODO comments
* Add ABI types & isConstant flag
* Updated with actual steps (progress)
* Linting
* Cleanup event code
* Bump deps
* Bump deps (keyring mnemonic fix)
2019-04-02 21:21:00 +02:00
Jaco Greeff
6b8ecb26f2
0.75
2019-03-29 22:11:48 +01:00
Jaco Greeff
9ba9897699
Add Consensus to Digest ( #813 )
2019-03-29 17:32:39 +01:00
Jaco Greeff
e2b15adaf2
Update keyring, new ss58 checksums ( #812 )
2019-03-29 15:16:11 +01:00
Jaco Greeff
6fef86cc78
Adjust support fo US English as per substrate ( #811 )
...
* Rename ExtinsicStatus Finalised -> Finalized
* Finalised heads -> Finalized
2019-03-29 14:12:56 +01:00
Jaco Greeff
9b4f42b72b
0.52 fix
2019-03-28 19:56:13 +01:00
Jaco Greeff
1859143328
peer.index is not part of the JSON anymore ( #809 )
2019-03-28 17:28:45 +01:00
Jaco Greeff
cda0ef3486
Linked map support ( #801 )
...
* able to get head
* head actually working
* Correctly get linkage
* I think it is working
* Results now return both keys and values
2019-03-27 15:34:11 +01:00
Jaco Greeff
e5952e49d8
Initial DoubleMap support (support v3 Metadata) ( #798 )
...
* DoubleMap support
* Typo
* V3 static
* Swap static to V3
* Cleanup toString
* Remove V0 support, don't get to isReady when load fails
* Re-add v0 (old tests, this is a bit of a mission...)
2019-03-27 12:34:22 +01:00
Jaco Greeff
45e524371e
Add Key to types, bump util for assert typeof fix ( #800 )
...
* Add Key to types, bump util for assert typeof fix
* Export default
* docs
2019-03-27 10:25:07 +01:00
Jaco Greeff
c827bdbbec
Check for multiple api & types instances ( #797 )
2019-03-26 17:13:15 +01:00
Jaco Greeff
26d01aa5a3
Add AccountInfo (as per latest metadata) ( #793 )
...
* Add AccountInfo (as per latest metadata)
* Case-sensitivity
* Bump deps
2019-03-23 20:11:20 +01:00
Xiliang Chen
143cd2f9bb
Metadata v2 ( #792 )
...
* metadata v2
* Try to keep additional data form later metadata version
2019-03-23 12:40:55 +01:00
Jaco Greeff
34ca31c68d
Bump dependencies ( #788 )
...
* Bump dependencies
* Remove signing length check
2019-03-20 15:15:34 +01:00
Jaco Greeff
712c15a329
Update to latest Metadata, e2e tests cleanups (sr25519) ( #783 )
...
* Update to latest Metadata
* Test expansion
* Update tests
* Bump deps
* Package versions
2019-03-18 15:56:07 +01:00
Amaury Martiny
3e43bc5ea9
fix: remove cache from api-derive ( #779 )
...
* Remove cache from api-derive
* Skip e2e
* Update headers to 2019
2019-03-15 12:45:50 +01:00
Jaco Greeff
34888bd4fb
Remove /index imports (swap to bare) ( #773 )
...
* Remove /index imports (swap to bare)
* Bump common
2019-03-14 09:02:55 +01:00
Jaco Greeff
7f8a7f4286
Update for latest substrate Metadata ( #761 )
2019-03-07 12:06:39 +01:00
Jaco Greeff
5f065b5255
Alias Header number -> blockNumber ( #760 )
2019-03-07 11:08:18 +01:00
Jaco Greeff
cc65bb53d6
Small Enum/EnumType cleanups for consistency ( #759 )
2019-03-06 12:29:34 +01:00
Jaco Greeff
1ed1bfab9a
Cleanup Submittable interfaces for external use ( #755 )
...
* Cleanup Submittable interfaces for external use
* Update Struct.ts
2019-03-03 12:06:43 +01:00
Ian He
1cb847a63a
allow custom Extrinsic implementation ( #739 )
...
* refactor: allow custom Extrinsic implementation
* decorate Extrinsic into SubmittableExtrinsic
* per comments
* avoid cyclical dependency
* try to make codeclimate happy
* code clean up
* fix after rebase master
2019-03-01 13:18:34 +01:00
Jaco Greeff
30577472cf
Export U* names for primitives (including u*) ( #750 )
2019-03-01 09:40:25 +01:00
Jaco Greeff
806a37c50c
Test for Bytes (string input) ( #749 )
2019-03-01 09:39:56 +01:00
Jaco Greeff
1ea1f6f9f5
Add system_networkState RPC (with cleanups) ( #745 )
...
* Ad system_networkState RPC (with cleanups)
* Bump external dependencies
* s/network_state/networkState/ (as per Rust PR comments)
* Bump common (latest)
2019-02-28 13:53:36 +01:00
Jaco Greeff
b313614935
Pull in vuepress foir docs (as opposed to gitbook) ( #742 )
...
* Pull in latest @polkadot/dev, cleanup existing *.html
* Cleanups (old gitbook interfaces)
* Bump, WIP
* Ready for testing
* Update examples
* Include source
* Cleanup links
* Adjust links
* Add typedoc exclusions
* Default classes from class files
* Adjust imports
* Adjust config
* Re-add types split
* Update links to substrate interfaces
* Anchors for metadata
* Adjust links
* Restore HTML (to be deleted on CI)
* Bump deps
* Re-gen yarn.lock
* Remove a in links
* Adjust interfaces
2019-02-26 15:21:39 +01:00
Jaco Greeff
8a946aeaa1
Option create, order of checks ( #733 )
...
* Option create, order of checks
* Alphabetical
2019-02-22 10:50:48 +01:00
Jaco Greeff
f8bd74ee85
Cleanup Option result value handling ( #731 )
2019-02-22 09:58:24 +01:00
Jaco Greeff
d1825c749a
Update metadata to latest (Amount & AssetOf types) ( #726 )
...
* Update metadata to latest (Amount & AssetOf types)
* Allow derive fees to work with fees module
2019-02-20 17:21:20 +01:00
Jaco Greeff
bf1a4a9e08
Ovreride toJSON on {Header, ReferendumInfo}Extended ( #723 )
2019-02-20 07:33:53 +01:00
Jaco Greeff
447ab2fde0
Option construction & ReferendumInfoExtended ( #720 )
...
* Option construction & ReferendumInfoExtended
* Simplify, optional index
2019-02-19 17:46:22 +01:00
Jaco Greeff
f820dfcffa
Inject index properly into ReferendumInfo (with unwrap) ( #718 )
...
* Inject inject properly into ReferendumInfo (with unwrap)
* Use unwrapOr
* Fix type import
2019-02-19 15:20:45 +01:00
Jaco Greeff
f807a93e87
Handle storage with optional modifiers ( #717 )
...
* Handle storage with optional modifiers
* Storage docs indicate Option
* Cleanup Option logic
* Convert Optional derive to use Option
* Bump version, update changelog
* Update CHANGELOG description
* Enum.spec.js -> Enum.spec.ts
* Add isEmpty to primitive types
2019-02-19 13:47:36 +01:00
Jaco Greeff
cf5ca51f7f
Split types into primitive (base) & type (derived) ( #715 )
...
* Split types into primitves & structs
* Bump version (breaking change)
2019-02-19 09:40:14 +01:00
Jaco Greeff
b846152f11
ChainProperties tokenSymbol returns string ( #713 )
...
* ChainProperties tokenSymbol returns string
* Bump deps
* 0.43.14
2019-02-18 12:13:23 +01:00
Jaco Greeff
29c83a09a9
Build docs from latest ( #710 )
2019-02-17 11:03:10 +01:00
Jaco Greeff
5a0d692842
typo, actual sectionName
2019-02-17 08:52:27 +01:00
Jaco Greeff
40a1ec9ffa
Cleanup md rendering, remove empty sections ( #709 )
...
* Cleanup md rendering, remove empty sections
* Remov extra files
2019-02-17 08:40:25 +01:00
Jaco Greeff
9a56f1b5ec
Update metadata to latest ( #708 )
2019-02-17 07:53:28 +01:00
Jaco Greeff
c4ba8ca64d
Add ts-check for examples ( #705 )
...
* Add ts-check for examples
* Typing cleanups, now shows properly
* Bump
* Cleanup checks
* Bump keyring
2019-02-16 12:25:53 +01:00
Jaco Greeff
4735253cbd
Bump deps ( #702 )
...
* Bump deps
* Update keyring
2019-02-15 17:38:49 +01:00
Jaco Greeff
15b22dab1c
Allow indexOf to work with Codec eq ( #699 )
...
* Allow indexOf to work with Codec eq
* Convert to type before check
* Swap compare (in case of empty/invalid values)
2019-02-15 10:52:00 +01:00
Jaco Greeff
ead67ec9d6
Integrate new keyring ( #693 )
...
* Integrate new keyring
* Bump
* Bump version
* ed25519 dusl-support
2019-02-14 23:17:02 +01:00
Jaco Greeff
b88b6646af
Additional export cleanups (root & types) ( #694 )
2019-02-13 21:12:49 +01:00
Jaco Greeff
f95763906e
Add codec exports to types index ( #689 )
...
* Add codec exports to types index
* Use actual index exports (internally)
* Merge {AccountId, Balance, Moment}Of into parent classes
2019-02-13 16:00:59 +01:00
Jaco Greeff
b754ea6ffb
Expose #687 on index ( #688 )
2019-02-13 10:02:49 +01:00
Jaco Greeff
0ef15dc547
Add {AccountId, Balance, Moment, Seed}Of ( #687 )
2019-02-12 17:40:40 +01:00
Jaco Greeff
acc318761e
Fix encodedLength for non-ascii strings ( #684 )
2019-02-12 11:28:52 +01:00
Jaco Greeff
dbd37da72f
Allow enum definitions via JSON ( #681 )
...
* Allow enum definitions via JSON
* Return only type of type & value via toString()
* Remove displaced console.error
* Fix toString tests
2019-02-11 15:46:10 +01:00