Skip to content

Commit

Permalink
add precompile addrs for dagstore
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroXbrock committed May 24, 2024
1 parent b1a2f75 commit 13f4706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/app-ofa-private/ofa-private.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import "suave-std/suavelib/Suave.sol";
import "suave-std/Context.sol";

library DagStore {
address constant DAG_RETRIEVE = address(0); // TODO: fill in
address constant DAG_STORE = address(0); // TODO: fill in
address constant DAG_RETRIEVE = address(0x0000000000000000000000000000000052020001);
address constant DAG_STORE = address(0x0000000000000000000000000000000052020000);

function get(bytes32 dagId) internal view returns (bytes memory) {
(bool success, bytes memory data) = DAG_RETRIEVE.call(abi.encode(dagId));
Expand Down

0 comments on commit 13f4706

Please sign in to comment.