File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RPC_URL?=http://localhost:8545
1616SERVICE_MANAGER_ADDR? =` jq -r ' .eigen_service_managers.local | .[-1]' .docker/deployments.json `
1717SERVICE_TRIGGER_ADDR? =` jq -r ' .trigger' " ./.docker/script_deploy.json" `
1818SERVICE_SUBMISSION_ADDR? =` jq -r ' .service_handler' " ./.docker/script_deploy.json" `
19+ COIN_MARKET_CAP_ID? =1
1920
2021# # build: building the project
2122build : _build_forge wasi-build
@@ -29,10 +30,11 @@ wasi-build:
2930 @mkdir -p ./compiled
3031 @cp ./target/wasm32-wasip1/release/* .wasm ./compiled/
3132
33+ # # wasi-exec: executing the WAVS wasi component(s) | COMPONENT_FILENAME, COIN_MARKET_CAP_ID
3234wasi-exec :
3335 @$(WAVS_CMD ) exec --log-level=info --data /data/.docker --home /data \
3436 --component " /data/compiled/${COMPONENT_FILENAME} " \
35- --input ` cast format-bytes32-string 1 `
37+ --input ` cast format-bytes32-string $( COIN_MARKET_CAP_ID ) `
3638
3739# # update-submodules: update the git submodules
3840update-submodules :
@@ -100,7 +102,6 @@ deploy-service:
100102 --service-config ${SERVICE_CONFIG}
101103
102104# # trigger-service: triggering the service | SERVICE_TRIGGER_ADDR, COIN_MARKET_CAP_ID, RPC_URL
103- COIN_MARKET_CAP_ID? =1
104105trigger-service :
105106 @forge script ./script/Trigger.s.sol ${SERVICE_TRIGGER_ADDR} ${COIN_MARKET_CAP_ID} --sig " run(string,string)" --rpc-url $(RPC_URL ) --broadcast -v 4
106107
You can’t perform that action at this time.
0 commit comments