-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from AntelopeIO/4.0-stable
4.0-rc1 to stable
- Loading branch information
Showing
8 changed files
with
73 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"____comment": "This file was generated with eosio-abigen. DO NOT EDIT ", | ||
"version": "eosio::abi/1.2", | ||
"types": [], | ||
"structs": [ | ||
{ | ||
"name": "whatever", | ||
"base": "", | ||
"fields": [] | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"name": "whatever", | ||
"type": "whatever", | ||
"ricardian_contract": "" | ||
} | ||
], | ||
"tables": [ | ||
{ | ||
"name": "smpl.config", | ||
"type": "name", | ||
"index_type": "i64", | ||
"key_names": [], | ||
"key_types": [] | ||
} | ||
], | ||
"ricardian_clauses": [], | ||
"variants": [], | ||
"action_results": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include <eosio/asset.hpp> | ||
#include <eosio/eosio.hpp> | ||
#include <eosio/name.hpp> | ||
#include <eosio/singleton.hpp> | ||
|
||
using namespace eosio; | ||
|
||
class [[eosio::contract("singleton_contract_simple")]] singleton_contract_simple : public contract { | ||
public: | ||
using contract::contract; | ||
|
||
[[eosio::action]] | ||
void whatever() {}; | ||
|
||
typedef eosio::singleton<"smpl.config"_n, name> config; | ||
}; |
10 changes: 10 additions & 0 deletions
10
tests/toolchain/abigen-pass/singleton_contract_simple.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"tests" : [ | ||
{ | ||
"expected" : { | ||
"abi-file" : "singleton_contract_simple.abi" | ||
} | ||
} | ||
] | ||
} | ||
|
Submodule antler-proj
updated
6 files
+1 −1 | include/antler/project/cmake.hpp | |
+42 −2 | include/antler/system/utils.hpp | |
+8 −1 | src/CMakeLists.txt | |
+28 −2 | tests/cmake_tests.cpp | |
+21 −6 | tools/build.hpp | |
+7 −2 | tools/tests/populate_and_build.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters