Update ink type spec for 3.0-rc1 (#2702)
* Updated ABI definitions & parsing * Run type generation * Definitions (should be ok-ish) * Cleanup names * Allow aliasses on structs (JSON parsing) * Cleanup json mapping passing * s/types/lookup/ * Parsing as per current output * InkSelector * MtRegistryIndex * String lookup tests * Remove serd ovverride comments (it works as-is) * inkRegistry tests * Extract primitive types * s/ty/id/ * Start of parsing into types (actually to be TypeDef) * Parsing * stringify struct fields * Small cleanups * Add type index to project lookup * Prefix with index * Fix interface generation * Latest contract metadata (#2118) * Add new (provisional) incrementer contract metadata * Update and regenerate type definitions * WIP: generate new format scale-info types * WIP: implementing variants * Implement variants * Fix up type resolution * Fix registry spec tests * Fix lints and some tests * Fix inkTypes tests * Fix some lints * Make imports same line like original * Comment out (temporarily) sanitize import to make CI pass * Sanitize * Remove indices * Remove index * api-contract rewrite * lint * cleanup * latest * latest * fix definition * fiz definitions * rv ink storage * Update packages/api-contract/src/base/Contract.ts Co-authored-by: Jaco Greeff <jacogr@gmail.com> * fixes * rv scripts * restore api-contract * reorder definitions, fix ink storage * fixes * def order * fixes * encodeTypeDef asRaw * update ink typ spec * latest built contracts * compare files * Apply suggestions from code review Co-authored-by: Jaco Greeff <jacogr@gmail.com> Co-authored-by: Andrew Jones <ascjones@gmail.com>
This commit is contained in:
co-authored by
Jaco Greeff
Andrew Jones
parent
64e209783a
commit
503286f7aa
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"metadataVersion": "0.1.0",
|
||||
"source": {
|
||||
"hash": "0xafe9cfb918e19fc701470017985ab0324017c66dbcfb13cb3ceca39e68cddd86",
|
||||
"language": "ink! 3.0.0",
|
||||
"hash": "0x8b30429ee0f4dc19cec91b09d186c805eaac6615492c1edf3bc1efaff0b7fecf",
|
||||
"language": "ink! 3.0.0-rc1",
|
||||
"compiler": "rustc 1.48.0-nightly"
|
||||
},
|
||||
"contract": {
|
||||
"name": "incrementer",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.0-rc1",
|
||||
"authors": [
|
||||
"Parity Technologies <admin@parity.io>"
|
||||
]
|
||||
@@ -22,7 +22,7 @@
|
||||
"displayName": [
|
||||
"i32"
|
||||
],
|
||||
"id": 1
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -52,7 +52,7 @@
|
||||
"displayName": [
|
||||
"i32"
|
||||
],
|
||||
"id": 1
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -77,7 +77,7 @@
|
||||
"displayName": [
|
||||
"i32"
|
||||
],
|
||||
"id": 1
|
||||
"type": 1
|
||||
},
|
||||
"selector": "0x1e5ca456"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user