Handle oracle operation in FATE #581

Merged
gorillainduction merged 2 commits from PT-166233685-fate-oracles into master 2019-06-18 21:32:09 +09:00
Showing only changes of commit 70e0e465f2 - Show all commits

View File

@ -242,8 +242,8 @@ lit_to_fate(L) ->
{account_pubkey, K} -> aeb_fate_data:make_address(K); {account_pubkey, K} -> aeb_fate_data:make_address(K);
{contract_pubkey, K} -> aeb_fate_data:make_contract(K); {contract_pubkey, K} -> aeb_fate_data:make_contract(K);
{oracle_pubkey, K} -> aeb_fate_data:make_oracle(K); {oracle_pubkey, K} -> aeb_fate_data:make_oracle(K);
{typerep, T} -> aeb_fate_data:make_typerep(type_to_scode(T)); {oracle_query_id, H} -> aeb_fate_data:make_oracle_query(H);
{oracle_query_id, H} -> aeb_fate_data:make_oracle_query(H) {typerep, T} -> aeb_fate_data:make_typerep(type_to_scode(T))
end. end.
term_to_fate({lit, L}) -> term_to_fate({lit, L}) ->