-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update near sdk pointer to 5 alpha (via git only for now) #120
Conversation
where smthing else is used instead or where it doesn't matter
assert_eq!(abi_root.body.functions.len(), 2); | ||
let function = &abi_root.body.functions[1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of changes, similar to these 2 lines, are caused by abi.json generated change from
{
"schema_version": "0.4.0",
"metadata": {
"name": "test_dependency_default_features",
"version": "0.1.0"
},
"body": {
"functions": [
{
"name": "foo",
"kind": "view",
"params": {
"serialization_type": "json",
"args": [
{
"name": "a",
"type_schema": {
"type": "boolean"
}
},
{
"name": "b",
"type_schema": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
]
}
}
],
"root_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "String",
"type": "string"
}
}
}
to
{
"schema_version": "0.4.0",
"metadata": {
"name": "test_dependency_default_features",
"version": "0.1.0"
},
"body": {
"functions": [
{
"name": "contract_source_metadata",
"kind": "view"
},
{
"name": "foo",
"kind": "view",
"params": {
"serialization_type": "json",
"args": [
{
"name": "a",
"type_schema": {
"type": "boolean"
}
},
{
"name": "b",
"type_schema": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
]
}
}
],
"root_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "String",
"type": "string"
}
}
}
index in the second line depends on the alphabetic order of "add"
or "foo"
with respect to "contract_source_metadata"
encountered near/near-sandbox#78 when creating this pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I hope we can merge it soon once near-sdk 5.0 is released
draft version contains pointer to branch from near/near-sdk-rs#1122