Skip to content

Commit

Permalink
Merge pull request gofractally#670 from gofractally/disable-sessions
Browse files Browse the repository at this point in the history
disable sessions
  • Loading branch information
tbfleming authored Feb 23, 2022
2 parents b0e7e45 + 5f0751e commit 2d52132
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/eden/include/eden.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ namespace eden
EDEN_ACTIONS(
eden,
"eden.gm"_n,
action(newsession, eden_account, key, expiration, description),
eden_verb(delsession, 0, eden_account, key),
action(run, auth, verbs),
// action(newsession, eden_account, key, expiration, description),
// eden_verb(delsession, 0, eden_account, key),
// action(run, auth, verbs),
action(withdraw, owner, quantity, ricardian_contract(withdraw_ricardian)),
action(donate, owner, quantity),
action(fundtransfer, from, distribution_time, rank, to, amount, memo),
Expand Down
2 changes: 2 additions & 0 deletions contracts/eden/tests/include/tester-base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ struct eden_tester
return result;
};

/*
void newsession(eosio::name authorizer,
eosio::name eden_account,
const eosio::public_key& key,
Expand Down Expand Up @@ -562,6 +563,7 @@ struct eden_tester
expect(chain.push_transaction(chain.make_transaction({act})), expected);
}
*/

void write_dfuse_history(const char* filename)
{
Expand Down
2 changes: 2 additions & 0 deletions contracts/eden/tests/test-eden.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,7 @@ TEST_CASE("election-events")
CompareFile{"test-election"}.write_events(t.chain).compare();
}

/*
TEST_CASE("contract-auth")
{
eden_tester t;
Expand Down Expand Up @@ -1475,3 +1476,4 @@ TEST_CASE("contract-auth-elect")
t.write_dfuse_history("dfuse-contract-auth-elect.json");
CompareFile{"contract-auth-elect"}.write_events(t.chain).compare();
} // TEST_CASE("contract-auth-elect")
*/

0 comments on commit 2d52132

Please sign in to comment.