Jaco Greeff
3b92be5284
Combine Enum & EnumType ( #922 )
...
* Extend EnumType with basic (convert use)
* Remove Enum, adjust EnumType tests with Enum version
* Remove aliasses
* test json finaised -> finalized
2019-06-12 16:45:45 +12:00
Amaury Martiny
2699dcfc9c
refactor: Metadata overhaul ( #913 )
...
* Replace part1
* Replace part2
* Replace part3
* Replace part5
* Replace part6
* Fix small bugs
* Fix double map toString
* Small fixes
* Update to v4
* Fix docs script
* Grumbles
* Alphabetical
* Reads better
* comment
* module to modul
2019-06-12 16:45:45 +12:00
Jaco Greeff
194077033a
codec/Set extends JS Set ( #917 )
2019-06-12 16:45:45 +12:00
Jaco Greeff
0e5906473b
Update api.derive to use api.queryMulti ( #911 )
...
* session api.queryMulti
* Make a single subscription to retrieve all session info
* Adjustments
* WIP
* Seems mostly comprehensive, need to full test e2e
* e2e tests for operations
* Allow "create from empty"
* skip
* Remove comment
* Remove ancient ?'s
* Update types.ts
2019-06-12 16:45:45 +12:00
Jaco Greeff
f070b637f7
Remove struct map naming overrides ( #918 )
2019-06-12 16:45:45 +12:00
Jaco Greeff
7c8ec1f7f5
Move additional types to primitive & rpc ( #916 )
2019-06-12 16:45:45 +12:00
Jaco Greeff
9f1499f435
Update Extrinsic Signature description ( #905 )
...
* Update Extrinsic Signature description
* Update ExtrinsicSignature.ts
2019-06-12 16:45:45 +12:00
Stefanie Doll
fca5fb7110
Added derive e2e tests and documentation ( #898 )
...
* export IExtrinsic
* Switch to localhos & enable tests in promise.spec
* Derive.accounts docs (copy from my other branch) + code examples
* Fixed existing accounts tests and added tests for all accounts.derive methods
* e2e tests and docs/ examples for balances.all and balances.fees
* Removed emty lines below jsdoc info
* tests & documentation dor derive.chain
* Addressed comments from former PR https://github.com/polkadot-js/api/pull/869
* Removed unused import
* obseralbe -> observable
* undo keith' commit
* use correct jsdocs syntax
* Re-enable skip
2019-06-12 16:45:45 +12:00
Jaco Greeff
2630f378a4
new EventRecord with topics ( #902 )
...
* new EventRecord with topics
* Add additional decoding checks (from #612 )
* Slightly rework storage parsing (future checks)
* Split storage result formatting (set vs data)
* Allow v3 event parsing
* Max Vector length check
* assert during Event parsing
* Well, HACK-y fallback
* Revert "Well, HACK-y fallback"
This reverts commit edbf61b99da2753bec3a535126660e71bdcd9861.
* Node overrides...
* Add implVersion
* Register types
* Update with polkadot as well
* inject compatibility types
* EventRecord77 in testing
* Conversion with DoubleMap
* E2E tested against v3 & v4
* Filter with some
* Split archive/remove alex tests
* beforeAll -> beforeEach
* Remove .only
* EventRecordV0 -> 77
2019-06-12 16:45:45 +12:00
Jaco Greeff
a0b1205258
Revert "Update extrinsics FromMetadata. Drop storages with doublemap type when converting v3 to v2 ( #888 )" ( #903 )
...
This reverts commit 97032e7e86 .
2019-06-12 16:45:45 +12:00
satellitex
fbbe7625b1
Add traits replace rules. for invalid cases ::<type> and <type>::. ( #885 )
...
* add replace rules
* fix replace grep
2019-06-12 16:45:45 +12:00
Jaco Greeff
b573531ebf
Metadata update for latest master ( #901 )
...
* Latest metadata, add EventIndex type
* Add parsed metadata
* Create empty DoubleMap type
2019-06-12 16:45:45 +12:00
Xiliang Chen
f55732af51
Start supporting double map ( #843 )
...
* double map fix
* update metadata to prevent error using double map
2019-06-12 16:45:45 +12:00
Alex Wang
5b6a6d4431
Update extrinsics FromMetadata. Drop storages with doublemap type when converting v3 to v2 ( #888 )
...
* update extrinsics fromMetadata
* drop storages with doublemap when convert v3 to v2
* update Event.injectMetadata
2019-06-12 16:45:45 +12:00
ian.he
4e6b533539
v0.78.103
2019-06-06 14:02:54 +12:00
ian.he
9fbf4bf478
v0.78.102
2019-06-06 12:50:29 +12:00
ian.he
14216a42a3
0.78.101
2019-06-05 10:04:08 +12:00
Jaco Greeff
63e08d8357
Fix ContractAbi assert name ( #951 )
2019-06-04 17:01:39 +12:00
ian.he
019f1f761f
rebase upstream and bump to 0.78.100
2019-05-27 15:46:59 +12:00
Amaury Martiny
e4cf97d71e
Linked map in v0 ( #886 )
2019-05-27 15:46:31 +12:00
Jaco Greeff
dcdbd2ca40
Fix bug in metadata conversion (return converted) ( #880 )
...
* Fix bug in metadata conversion (return converted)
* v2 -> v3
2019-05-27 15:46:31 +12:00
Jaco Greeff
13ae360c7a
assert type on all asXxx getters ( #879 )
...
* assert type on all asXxx getters
* Convert via built-in asVx
* Implicit index
* Re-add V0 (not dropped here, but dropped somewhere)
* MetadataDeprectated -> MetadataDeprecated
2019-05-27 15:46:31 +12:00
Amaury Martiny
6fc35d641a
Fix linked maps ( #878 )
...
* Fix linked maps
* Line breaks
2019-05-27 15:46:31 +12:00
Jaco Greeff
d79c0ea28d
Update to latest metadata (with ContractInfo) ( #874 )
...
* Update to latest metadata (with ContractInfo)
* isAlive/isTomstone
* typo
2019-05-27 15:46:30 +12:00
Jaco Greeff
486412d051
Fix struct keys, log additional decoding error info ( #872 )
...
* Re-create test cases for failures
* Fix cloberring of keys
* Add logging to pinpoint decoding failures
2019-05-27 15:46:30 +12:00
Jaco Greeff
f3f1807013
Bump dev (& fix indents) ( #870 )
...
* Bump dev (& fix indents)
* Bump common
2019-05-27 15:46:30 +12:00
Xiliang Chen
89ebae9d78
Update WithdrawReasons to match substrate ( #865 )
...
* Update WithdrawReasons to match substrate
* Linting, comment alignment
2019-05-27 15:46:30 +12:00
Jaco Greeff
071d872adf
USize -> U32 ( #839 )
...
- Possibly a fix for https://github.com/polkadot-js/api/issues/838
2019-05-27 15:46:30 +12:00
Jaco Greeff
9f5be747e7
Bump deps ( #861 )
...
* Bump deps
* Align with published common
* Fix rxjs to 6.4.0 (false deprecations on 6.5.1)
2019-05-27 15:46:30 +12:00
ian.he
75884d22a3
0.77.102
2019-05-27 15:46:29 +12:00
Alex Wang
ed2e44ac93
v0.77.101
2019-05-27 15:46:29 +12:00
Alex Wang
c88d284a5c
fix: storageNames in metadata v4 to support DoubleMap
...
Merged in polkadot_v77_1 (pull request #4 )
Approved-by: Ian He <ian-he@outlook.com >
2019-05-27 15:46:29 +12:00
ian.he
daaa16523d
v0.77.100
2019-05-27 15:46:27 +12:00
Travis CI
116714a8f9
upstream upgrade(v0.77.1)
...
release v0.77.100
2019-05-27 15:46:19 +12:00
Amaury Martiny
5c1f7fb527
Use custom hasher for Map ( #857 )
...
* Use blake2 instead of two_x
* Add v4
* Update to new v4 static
* Update json
* Revert
* Use hasher enum
* Fix metadata v4 test
* Fix metadata v4 test
* Fix versioned metadata
* refactor & clean
* Use consistent naming
* Make jsons consistent
* Add backward compat
* Fix tests
* Start working on type-storage
* Fix output
* Grumble
* Update to latest static
* Clean code
* Fix imports
* Remove useless imports
* Fix tests
* Use prettier output for toJSON in metadata
* Implement different hashers
* Remove generic storageKey
* Bump version
* Add backwards-compat
* Fix hashing function, use Twox128
* Grumbles
* Add tests
2019-05-27 15:46:19 +12:00
Stefanie Doll
8a69bc4458
Fix the md table formatting ( #855 )
...
* Last attempt
* Poke Travis
2019-05-27 15:46:18 +12:00
Stefanie Doll
a8dd059097
Type definitions formatting fix ( #851 )
...
* attempt to fix vuepress falsy markdown interpretation
* Linebreak fix
* Roll-back yarn.lock
2019-05-27 15:46:16 +12:00
Stefanie Doll
1204ac37f6
Add short description to all types on overview page ( #849 )
...
* Smaller typos/ wording
* Grammar An - A
* Add short description to each type on overview page WIP
* Removed 'Derived types' section because HeaderExtended was the only derived method left
* Commit current state
* Description completed
* Removed empty row placeholder
* Fixed Typo in LockPeriods
* Spell out Little Endian
* Fixed accidentaly removed space character
2019-05-27 15:46:09 +12:00
Jaco Greeff
b2f03e500e
Remove contract encoding debug (confirmed working) ( #836 )
...
* Remove contract encoding debug (confirmed working)
* Remove (now-unused) import
2019-05-27 15:46:09 +12:00
Jaco Greeff
a7ffe44ae6
AbstractArray base & VectorAny (no types in constructor) ( #833 )
...
* AbstractArray base & VectorAny (no types in constrctor)
* Remove noInheritDoc from Tuple, Vector* (already on abstract)
2019-05-27 15:45:51 +12:00
Jaco Greeff
ac5bfeda39
Contract ABI (extended)
2019-05-27 15:45:50 +12:00
Jaco Greeff
73a184ec7d
Expand Digest for asAura, use in HeaderExtended ( #832 )
2019-05-27 15:45:50 +12:00
Jaco Greeff
382e903b8f
TreasuryProposal ( #825 )
2019-05-27 15:45:50 +12:00
ian.he
6b6b7fe145
chore: rebranding to @plugnet
2019-04-26 16:43:32 +12:00
ian.he
1f4e7638d5
v0.76.102
2019-04-16 16:37:21 +12:00
Alex Wang
4d95d622a9
fix: fix double map
...
Merged in check (pull request #2 )
Approved-by: Ian He <ian-he@outlook.com >
2019-04-16 04:36:17 +00:00
ian.he
327c20ddea
v0.76.101
2019-04-16 14:55:50 +12:00
Alex Wang
04f6d352d9
feat: adding double map support
...
Merged in double-map (pull request #1 )
Approved-by: Ian He <ian-he@outlook.com >
2019-04-16 02:53:30 +00:00
ian.he
3c7c79f18f
merge v0.76.1
2019-04-12 11:26:54 +12:00
ian.he
4e30fab9d6
init
2019-04-11 13:42:06 +12:00