Commit Graph

4 Commits

Author SHA1 Message Date
James Wilson 23c62f3d5d Update to 2024 edition (#2001)
* Update to 2024 edition

* Update to 2024 edition; fmt, use<> and remove refs

* async functions
2025-05-09 16:12:18 +01:00
James Wilson 21b3f52191 Metadata V16: Be more dynamic over which hasher is used. (#1974)
* Use DynamicHasher256 to support Blake2 or Keccack depending on chain

* remove Config::Hash associated type, replace with HashFor<Config> alias

* Fix doc links

* fix wasm tests

* Don't strip system pallet associated types. check System.Hashing, not Hash. Rename BlockHash trait to Hash

* Tweak comment

* fmt

* fix merge

* Fix typo
2025-04-23 10:12:48 +01:00
Pavlo Khrystenko 5a5c5fc382 Add 20-byte account id to subxt_core (#1638)
* Add accountId20 impl to subxt_core

closes #1576
2024-06-19 13:31:04 +02:00
Niklas Adolfsson 25193d75af add frontier/ethereum example (#1557)
* add ethereum example

The ethereum config doesn't work with the default PolkadotConfig which
this shows how to do.

Tested with a frontier node

* address grumbles

* Update subxt/examples/tx_basic_frontier.rs

* Update subxt/examples/tx_basic_frontier.rs
2024-04-26 16:18:19 +02:00