Jaco
a650ae195e
Non-aliased CallEvent type extraction ( #4502 )
...
* Non-aliased CallEvent type extraction
* Update packages/types/src/metadata/PortableRegistry/PortableRegistry.ts
2022-01-25 17:01:57 +02:00
Jaco
f5ce395371
Expose contract.{query, tx}.method.meta ( #4485 )
2022-01-21 13:40:21 +02:00
Jaco
3507a74d60
Correct V0/V1 contract def, adjust namespace tests ( #4477 )
...
* Correct V0/V1 contract def, adjust namespace tests
* Some failures
* V0 -> V1 conversion with name as Text[]
* CHANGELOG
2022-01-20 09:01:17 +02:00
Oleksandr Mykhailenko and Jaco
97797d64f1
Add more complex namespaced contracts & test cases for them ( #4472 )
...
* Add more complex namespaced contracts & test cases for them.
* Apply suggestions from code review
* Update packages/api-contract/src/Abi/toLatest.spec.ts
Co-authored-by: Jaco <jacogr@gmail.com >
2022-01-20 08:01:12 +02:00
Jaco
1616b014b3
Contract meta v1 name to v2 label w/ :: ( #4471 )
2022-01-19 15:08:28 +02:00
Jaco
e77c2dd78c
Contracts metadata v3 test data ( #4470 )
...
* Contracts metadata v3 test data
* Reformat
2022-01-19 13:25:35 +02:00
Jaco
dfbfaf12eb
Support for ink! metadata v3 ( #4432 )
...
* Support for ink! metadata v3
* Flatten check for V1-V3
* DRY-er is/as conversions
* Test for v2 conversion
* Remove stray console.log
* Generic converter
* Cleanups
2022-01-18 07:27:10 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
67ee8b08d9
Ensure *.d.ts files are generated in outputs ( #4362 )
...
* Ensure *.d.ts files are generated in outputs
* Adjust
* Additional dep
* Update
* Update refs
2021-12-20 10:00:10 +02:00
Jaco
f11feb4363
Move test files to correct packages ( #4345 )
...
* Move test files to correct packages
* Adjust
2021-12-17 09:45:46 +02:00
Jaco
f02d3af3d2
Split @polkadot/types-create ( #4330 )
...
* Split @polkadot/types-create
* Remove floating Type class
* Adjust
* Adjust detectPackage
* Fix types-known exports
2021-12-15 16:05:13 +02:00
Jaco
736fd536f9
Use tsconfig references ( #4328 )
...
* Use tsconfig references
* Move types-known (temp until lower-level split)
* Sources
* Adjust
* tesconfig.eslint.json
* Bumps
* AdjustAdjust
* Linting passing... a start...
* Adjust
* Merge derive
* Merge
* api-contract-support
* It builds?
* compare locations
2021-12-14 12:04:50 +02:00
Jaco
a30329b47d
Support for contracts metadata V2 ( #4289 )
...
* Support for contracts metadata V2
* Add & use latest
* Build interfaces
* conversion of V1 -> Latest
* spreads
* Use V2 in creation, aka s/name/label/
* Extract -> latest conversion
* Flatten
* Add V2 test contracts (tests are failing)
* V2, V1 & V1 catered for in Abi.spec.ts
* Explicit v0/v1 -> Latest conversions
* Adjust V2/V1/V0 check order
* Cleanup type assertions
* Save
* Remove eslint unsafe
* Flatten test exports
* Entries... last non-critical, OCD-driven change...
* tsc check fixes
* Conversion tests
* v1ToLatest renames
* Text[]
* Split conversion (ease of future change)
* V2 in V2 conversion
* Dedupe?
* Additional cleanups
* Adjust
* Flatten types
* Adjust
* filter versions adjustments
* additional, get it done.
2021-12-08 19:14:51 +02:00
Jaco
d98d4d6908
Move PortableRegistry alongside metadata ( #4172 )
2021-11-05 17:47:02 +02:00
Jaco
1e383315e2
Adjust convertSiV0toV1 import location ( #4082 )
2021-10-19 08:47:06 +03:00
Jaco
5eb3534d8e
Bump dev (w/ eslint 8) ( #4070 )
...
* Bump dev (w/ eslint 8)
* Additional linting
* Additional
* More lint fixes
* Last batch
* Additional
* Cleanups
2021-10-17 14:49:26 +03:00
Jaco
d053b86e23
Use Si V1 in contracts (w/ PortableRegistry usage) ( #3988 )
...
* Use Si V1 in contracts (w/ PortableRegistry usage)
* Type id lookups
* Fix build & linting
* Remove extra .toNumber() (VSCode has gone crazy)
* v1 tests
* Cleanup parsing
* Explicit type cast for v1 types
* Unneeded toNumber
* Align events exposure with messages/constructors
* dedupe
* Re-add typedef extraction tests
* with typedefs
* Override for always primitives
* displayName improvements
* Versioned project
* New structure
* Fixes
* Cleanups
* Ensure API registry is the default used
* Adjust arg & return encoding/decoding
* Recursive contract
* DoNotConstruct to Si type
2021-10-11 12:50:09 +03:00