Skip to content
Open
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
8 changes: 4 additions & 4 deletions src/contract_core/contract_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,10 @@ struct ContractStateChangeInfo
};
// Contracts whose state struct changed this epoch. Update this list each epoch as needed.
// When enabling, replace both lines below, e.g.:
constexpr ContractStateChangeInfo contractStateChangeInfos[] = { { QIP_CONTRACT_INDEX, RESET } };
constexpr unsigned int contractStateChangeCount = sizeof(contractStateChangeInfos) / sizeof(contractStateChangeInfos[0]);
// constexpr const ContractStateChangeInfo* contractStateChangeInfos = nullptr;
// constexpr unsigned int contractStateChangeCount = 0;
// constexpr unsigned int paddableContracts[] = { RANDOM_CONTRACT_INDEX };
// constexpr unsigned int paddableCount = sizeof(paddableContracts) / sizeof(paddableContracts[0]);
constexpr unsigned int paddableContracts[] = { RANDOM_CONTRACT_INDEX };
constexpr unsigned int paddableCount = sizeof(paddableContracts) / sizeof(paddableContracts[0]);


// Class for registering and looking up user procedures independently of input type, for example for notifications
Expand Down
Loading
Loading