-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into phuong/update-workspaces-tests
- Loading branch information
Showing
19 changed files
with
135 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,40 @@ | ||
{ | ||
"schema_version": "0.1.0", | ||
"schema_version": "0.2.0", | ||
"metadata": { | ||
"name": "adder", | ||
"version": "0.1.0", | ||
"authors": [ | ||
"Near Inc <[email protected]>" | ||
] | ||
], | ||
"build": { | ||
"compiler": "rustc 1.61.0", | ||
"builder": "cargo-near 0.2.0" | ||
}, | ||
"wasm_hash": "B4XgA4rGVyaCWyDv2h1XAN5QMbtdJN1frRwoxELUMvDe" | ||
}, | ||
"body": { | ||
"functions": [ | ||
{ | ||
"name": "add", | ||
"doc": " Adds two pairs point-wise.", | ||
"is_view": true, | ||
"params": [ | ||
{ | ||
"name": "a", | ||
"serialization_type": "json", | ||
"type_schema": { | ||
"$ref": "#/definitions/Pair" | ||
} | ||
}, | ||
{ | ||
"name": "b", | ||
"serialization_type": "json", | ||
"type_schema": { | ||
"$ref": "#/definitions/Pair" | ||
"params": { | ||
"serialization_type": "json", | ||
"args": [ | ||
{ | ||
"name": "a", | ||
"type_schema": { | ||
"$ref": "#/definitions/Pair" | ||
} | ||
}, | ||
{ | ||
"name": "b", | ||
"type_schema": { | ||
"$ref": "#/definitions/Pair" | ||
} | ||
} | ||
} | ||
], | ||
] | ||
}, | ||
"result": { | ||
"serialization_type": "json", | ||
"type_schema": { | ||
|
@@ -39,38 +45,39 @@ | |
{ | ||
"name": "add_borsh", | ||
"is_view": true, | ||
"params": [ | ||
{ | ||
"name": "a", | ||
"serialization_type": "borsh", | ||
"type_schema": { | ||
"declaration": "Pair", | ||
"definitions": { | ||
"Pair": { | ||
"Struct": [ | ||
"u32", | ||
"u32" | ||
] | ||
"params": { | ||
"serialization_type": "borsh", | ||
"args": [ | ||
{ | ||
"name": "a", | ||
"type_schema": { | ||
"declaration": "Pair", | ||
"definitions": { | ||
"Pair": { | ||
"Struct": [ | ||
"u32", | ||
"u32" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "b", | ||
"serialization_type": "borsh", | ||
"type_schema": { | ||
"declaration": "Pair", | ||
"definitions": { | ||
"Pair": { | ||
"Struct": [ | ||
"u32", | ||
"u32" | ||
] | ||
}, | ||
{ | ||
"name": "b", | ||
"type_schema": { | ||
"declaration": "Pair", | ||
"definitions": { | ||
"Pair": { | ||
"Struct": [ | ||
"u32", | ||
"u32" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
], | ||
] | ||
}, | ||
"result": { | ||
"serialization_type": "borsh", | ||
"type_schema": { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pub mod metadata_generator; | ||
pub mod metadata_visitor; | ||
pub(crate) mod metadata_generator; | ||
pub(crate) mod metadata_visitor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.