Rename type_defs to typedefs in ACI to increase compatibility (#421)

This commit is contained in:
Denis Davidyuk
2022-11-01 07:55:00 +01:00
committed by GitHub
parent 09638daa90
commit 4ca90feea0
4 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ generates the following JSON structure representing the contract interface:
}
]
},
"type_defs": [
"typedefs": [
{
"name": "answers",
"typedef": {
@@ -138,7 +138,7 @@ be included inside another contract.
state =>
#{record =>
[#{name => <<"a">>,type => <<"Answers.answers">>}]},
type_defs =>
typedefs =>
[#{name => <<"answers">>,
typedef => #{<<"map">> => [<<"string">>,<<"int">>]},
vars => []}]}}]}