@rootzero/contracts 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/Operation.sol +1 -1
- package/package.json +1 -1
- package/queries/Base.sol +1 -1
package/core/Operation.sol
CHANGED
|
@@ -15,7 +15,7 @@ error FailedCall(address addr, bytes4 selector, bytes err);
|
|
|
15
15
|
/// @notice Shared base for command and peer contracts.
|
|
16
16
|
/// Provides convenience wrappers for cursor construction, quotient validation,
|
|
17
17
|
/// and trusted inter-node calls. Inherits access control from `AccessControl`.
|
|
18
|
-
abstract contract OperationBase is
|
|
18
|
+
abstract contract OperationBase is CursorBase, AccessControl {
|
|
19
19
|
/// @notice Return the host node ID corresponding to the current caller.
|
|
20
20
|
/// @dev Encodes `msg.sender` as a host ID using the local-chain host layout.
|
|
21
21
|
/// @return Host node ID for `msg.sender`.
|
package/package.json
CHANGED
package/queries/Base.sol
CHANGED
|
@@ -21,7 +21,7 @@ function encodeQueryCall(uint target, bytes calldata request) pure returns (byte
|
|
|
21
21
|
/// @notice Abstract base for rootzero query contracts.
|
|
22
22
|
/// Queries are view-only entry points that consume a block-stream request and
|
|
23
23
|
/// return a block-stream response.
|
|
24
|
-
abstract contract QueryBase is
|
|
24
|
+
abstract contract QueryBase is CursorBase, HostBound, QueryEvent {
|
|
25
25
|
|
|
26
26
|
/// @notice Derive the deterministic node ID for a named query on this contract.
|
|
27
27
|
/// The ID encodes the ABI selector of `name(bytes)` and `address(this)`,
|