18 Commits
Author SHA1 Message Date
Tarik Gul 540f33b2ea chore(metadata): update chain metadata and regenerate types to v16 (#6265)
* chore(metadata): update chain metadata to v16 and enable v16 tests

* chore(api-augment): regenerate chain types from v16 metadata

* fix(typegen): align lookup generation to v16 and add V9 slashing proof alias
2026-07-19 02:43:33 +03:00
Tarik Gul 0b48576744 Set headers to 2026 (#6249) 2026-03-17 15:41:40 +02:00
Valentin Fernandez d3fe08efd1 Properly pull metadata from v16 (#6201) 2025-08-21 10:52:47 -03:00
Tarik Gul 241a1a3630 2025 (#6052)
* 2025

* change metadata script
2025-01-01 20:02:48 +02:00
Tarik Gul 173b3119bc Add AssetHub to types-support and test generation (#6022)
* Add AssetHub to types-support and test generation

* lint
2024-11-08 04:03:13 +02:00
Tarik Gul 9670dd9c66 Update metadata script for types-support (#6021) 2024-11-07 16:46:16 +02:00
Tarik Gul bc199956f3 Set static metadata to v15 and update typegen to generate runtime apis and use v15 metadata (#5987)
* Set static metadata to v15

* Fix testUtil

* Fix metadata spec

* support metadata files

* lint and fix commented tests

* Fix test

* Add augment static runtime types by metadata

* Fix alias typing for runtime def types

* Cleanup and add remaining generated files

* lint

* Fix typegen for edgecase

* Update polkadot to 1003003

* Fix tests

* Set correct rpc
2024-10-18 05:01:08 +03:00
peetzweg/ ca4802326c feat: ink! v5 (#5791)
* adds definitions and types according to ink v5 changes

* adds toV5 boilerplate code draft

* adds v5 flipper test contract code

* fix license dates

* adds test v5 toLatest test

* implements new scheme to determine event

* apply linter changes

* adds test result outputs

* change `EventRecord['topics'][0]` type to plain `Hash`

* adds testcases for decoding payload data of a ink!v4 and ink!v5 event

* changes `Abi.decodeEvent(data:Bytes)` method interface to `Abi.decodeEvent(record:EventRecord)` which includes the event and the topic for decoding.

* draft implementation with version metadata

* cleaner implementation of versioned Metadata by actually leveraging the `version` field included since v2 contract metadata

* trying to make linter happy

* makes `ContractMetadataSupported` in internal to `Abi` type and not exposing it externally.

* properly types unused parameter for tsc 🤷

* adds `@polkadot/types-support` dev dependency

* Update yarn.lock

* references `types-support` in `api-contract

* resolving change requests

* resolves linter warnings

* changes ContractMetadataV5 field to `u64` from `Text`

* adds contracts and contract metadata compiled with the most recent ink version

* implements decoding of anonymous events if possible

* removes done todo comments
2024-03-02 09:18:14 -05:00
Jaco 3bdf49b042 2024 (#5777) 2024-01-08 15:07:13 +02:00
Jaco 3d0a1701fa Bump dev & adjust duplicated exports (#5651) 2023-05-21 12:40:07 +03:00
Jaco 8394c71cfa Bump dev deps (#5647)
* Bump dev deps

* Adjust

* Actual bump, fix tsconfig for typegen
2023-05-18 08:42:41 +03:00
Jaco dd533f9831 Update static metadata (#5634) 2023-05-07 14:02:37 +03:00
Jaco 7e62e08b5d Add repo dev req. for Node.js (#5565) 2023-03-25 17:46:28 +02:00
Jaco 5ed3ea51d3 Add script to retrieve local meta/rpc/version (#5471)
* Add script to retrieve local meta/rpc/version

* Filter _unknown_

* Cleanup

* Additional
2023-02-04 00:22:36 +02:00
Jaco Greeff 6f80b51d3c Use @polkadot/dev for common tasks (#6)
* Use @polkadot/dev for common tasks

* Use scripts from @polkadot/dev

* js code hints

* Cleanup scripts
2017-11-21 00:20:22 +01:00
Jaco Greeff d362f00a25 Publish minimal to npm (#4)
* Publish minimal to npm

* Update dependency imports

* Update main: index.js
2017-11-19 09:36:39 +01:00
Jaco Greeff cc6577104e Update Ws provider (#1)
* Remove extra log line

* Don't stub WebSocket (available on Node)

* Expand provider/ws tests
2017-11-18 09:35:16 +01:00
Jaco Greeff b0c7e3a8ae Initial add 2017-11-18 08:38:18 +01:00