Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #9477 from EOSIO/add_abi_conversion_json_bin
Browse files Browse the repository at this point in the history
Add first class support for converting ABIs themselves to/from json/bin/hex
  • Loading branch information
allenhan2 authored Sep 8, 2020
2 parents 0acae2b + 225fa49 commit 631b6b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion libraries/abieos
Submodule abieos updated 4 files
+183 −130 include/eosio/abi.hpp
+45 −4 src/abieos.cpp
+11 −4 src/abieos.h
+129 −7 src/test.cpp
6 changes: 0 additions & 6 deletions libraries/rodeos/wasm_ql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ using eosio::ship_protocol::transaction_trace_v0;

namespace eosio {

// todo: move to abieos
template <typename T, typename S>
void to_json(const might_not_exist<T>& val, S& stream) {
return to_json(val.value, stream);
}

// todo: abieos support for pair. Used by extensions_type.
template <typename S>
void to_json(const std::pair<uint16_t, std::vector<char>>&, S& stream) {
Expand Down

0 comments on commit 631b6b1

Please sign in to comment.