Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Web Feature to Subxt Codegen (#1175)
* add web feature to subxt codegen * add getrandom * remove compile error * metadata: Generate runtime outer enums if not present in V14 (#1174) * metadata: Extend outer enum generation for V14 Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Generate outer enums if not present Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Porpagate v14 error instead of panic Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Try to find `RuntimeCall` then `Call` enums Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Ensure the returned type is variant for outer enums Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Replace or with or_else Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Apply clippy Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Return error and generate only `RuntimeError` Signed-off-by: Alexandru Vasile <[email protected]> * metadata: Remove modified path Signed-off-by: Alexandru Vasile <[email protected]> * metadata/tests: Check missing runtime types Signed-off-by: Alexandru Vasile <[email protected]> --------- Signed-off-by: Alexandru Vasile <[email protected]> * add empty use of getrandom --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: James Wilson <[email protected]>
- Loading branch information