commit
df12f6af91
2
.gitignore
vendored
2
.gitignore
vendored
@ -19,3 +19,5 @@ rebar3.crashdump
|
|||||||
*.erl~
|
*.erl~
|
||||||
*.aes~
|
*.aes~
|
||||||
aesophia
|
aesophia
|
||||||
|
.qcci
|
||||||
|
current_counterexample.eqc
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
|
|
||||||
{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref,"17c2a93"}}}
|
{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref,"2a9035d"}}}
|
||||||
, {getopt, "1.0.1"}
|
, {getopt, "1.0.1"}
|
||||||
, {eblake2, "1.0.0"}
|
, {eblake2, "1.0.0"}
|
||||||
, {jsx, {git, "https://github.com/talentdeficit/jsx.git",
|
, {jsx, {git, "https://github.com/talentdeficit/jsx.git",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{"1.1.0",
|
{"1.1.0",
|
||||||
[{<<"aebytecode">>,
|
[{<<"aebytecode">>,
|
||||||
{git,"https://github.com/aeternity/aebytecode.git",
|
{git,"https://github.com/aeternity/aebytecode.git",
|
||||||
{ref,"17c2a93e7213387a0fd9f9f9395e12de50355982"}},
|
{ref,"2a9035d5ef72bc65e51e4b9a1a958bb8ba2c6747"}},
|
||||||
0},
|
0},
|
||||||
{<<"aeserialization">>,
|
{<<"aeserialization">>,
|
||||||
{git,"https://github.com/aeternity/aeserialization.git",
|
{git,"https://github.com/aeternity/aeserialization.git",
|
||||||
|
@ -121,7 +121,8 @@ from_string1(aevm, ContractString, Options) ->
|
|||||||
{ok, #{byte_code => ByteCode,
|
{ok, #{byte_code => ByteCode,
|
||||||
compiler_version => Version,
|
compiler_version => Version,
|
||||||
contract_source => ContractString,
|
contract_source => ContractString,
|
||||||
type_info => TypeInfo
|
type_info => TypeInfo,
|
||||||
|
abi_version => aeb_aevm_abi:abi_version()
|
||||||
}};
|
}};
|
||||||
from_string1(fate, ContractString, Options) ->
|
from_string1(fate, ContractString, Options) ->
|
||||||
#{fcode := FCode} = string_to_code(ContractString, Options),
|
#{fcode := FCode} = string_to_code(ContractString, Options),
|
||||||
@ -132,7 +133,8 @@ from_string1(fate, ContractString, Options) ->
|
|||||||
compiler_version => Version,
|
compiler_version => Version,
|
||||||
contract_source => ContractString,
|
contract_source => ContractString,
|
||||||
type_info => [],
|
type_info => [],
|
||||||
fate_code => FateCode
|
fate_code => FateCode,
|
||||||
|
abi_version => aeb_fate_abi:abi_version()
|
||||||
}}.
|
}}.
|
||||||
|
|
||||||
-spec string_to_code(string(), options()) -> map().
|
-spec string_to_code(string(), options()) -> map().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user