Skip to content
Permalink
Browse files

Rename to plural waxbadges

  • Loading branch information
kdmukai committed Jul 13, 2019
1 parent c9661bb commit d1f59cff0bf42757b56267f35b0edd95c2adeeec
Showing with 9 additions and 9 deletions.
  1. +3 −3 compile.sh
  2. +1 −1 run_tests.sh
  3. +2 −2 test/{test_waxbadge.py → test_waxbadges.py}
  4. +3 −3 waxbadge.cpp → waxbadges.cpp
@@ -1,4 +1,4 @@
eosio-cpp -o waxbadge.wasm waxbadge.cpp --abigen
eosio-cpp -o waxbadges.wasm waxbadges.cpp --abigen
mkdir -p build
cp waxbadge.wasm build/.
cp waxbadge.abi build/.
cp waxbadges.wasm build/.
cp waxbadges.abi build/.
@@ -1 +1 @@
python test/test_waxbadge.py -s
python test/test_waxbadges.py -s
@@ -8,7 +8,7 @@

verbosity([Verbosity.INFO, Verbosity.OUT, Verbosity.TRACE, Verbosity.DEBUG])

CONTRACT_WORKSPACE = "waxbadge"
CONTRACT_WORKSPACE = "waxbadges"

# Actors of the test:
MASTER = MasterAccount()
@@ -459,7 +459,7 @@ def tearDownClass(cls):

if __name__ == "__main__":
parser = argparse.ArgumentParser(description="""
This is a unit test for the 'waxbadge' smart contract.
This is a unit test for the 'waxbadges' smart contract.
""")

parser.add_argument(
@@ -9,12 +9,12 @@ inline void check(bool pred, const char* msg) {
}
}

class [[eosio::contract("waxbadge")]] waxbadge : public contract {
class [[eosio::contract("waxbadges")]] waxbadges : public contract {
public:
using contract::contract;

// Constructor
waxbadge(name receiver, name code, datastream<const char*> ds)
waxbadges(name receiver, name code, datastream<const char*> ds)
: contract(receiver, code, ds) {}


@@ -530,5 +530,5 @@ class [[eosio::contract("waxbadge")]] waxbadge : public contract {
};


EOSIO_DISPATCH( waxbadge, (addorg)(editorg)(addcat)(editcat)(addach)(editach)(retireach)(adduser)(edituser)(wipeusername)(approveclaim)(claimuser)(grantach) )
EOSIO_DISPATCH( waxbadges, (addorg)(editorg)(addcat)(editcat)(addach)(editach)(retireach)(adduser)(edituser)(wipeusername)(approveclaim)(claimuser)(grantach) )

0 comments on commit d1f59cf

Please sign in to comment.
You can’t perform that action at this time.