Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable sessions #670

Merged
merged 1 commit into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions contracts/eden/include/eden.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,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 @@ -1266,6 +1266,7 @@ TEST_CASE("election-events")
CompareFile{"test-election"}.write_events(t.chain).compare();
}

/*
TEST_CASE("contract-auth")
{
eden_tester t;
Expand Down Expand Up @@ -1445,3 +1446,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")
*/