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
5 changes: 5 additions & 0 deletions contract-tests/src/contracts/precompileWrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ interface ISubnet {
string memory additional
) external payable;
function getServingRateLimit(uint16 netuid) external view returns (uint64);
function getNetworkRegistrationBlock(uint16 netuid) external view returns (uint64);
}

interface INeuron {
Expand Down Expand Up @@ -223,6 +224,10 @@ contract PrecompileWrapper {
return subnet.getServingRateLimit(netuid);
}

function getNetworkRegistrationBlock(uint16 netuid) external view returns (uint64) {
return subnet.getNetworkRegistrationBlock(netuid);
}

// ============ Neuron Functions ============

function burnedRegister(uint16 netuid, bytes32 hotkey) external payable {
Expand Down
Loading
Loading