Skip to content

Commit

Permalink
other way
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Apr 20, 2024
1 parent 1ce5546 commit 596bd9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
# run by 3rd party
mantis-solver = ''
${builtins.readFile ./setup_secrets.sh}
RUST_BACKTRACE=full RUST_LOG=trace ${composable-vm.packages.${system}.mantis}/bin/mantis solve --rpc-centauri "${networks.pica.mainnet.RPC}" --grpc-centauri "${networks.pica.mainnet.GRPC}" --cvm-contract "centauri19dw7w5cm48aeqwszva8kxmnfnft7wp4xt4s73ksyhdya704r3cdq389szq" --wallet "$MANTIS_COSMOS_MNEMONIC" --order-contract="centauri1f0a8md6ukrgmpyrpjv9pm5x9d4wx7mumcdr3qjc8mlguqssjy7xq4eennk" --main-chain-id="${networks.pica.mainnet.CHAIN_ID}" --router="http://ec2-54-246-72-76.eu-west-1.compute.amazonaws.com:8000" --gas="2000000000" | tee /var/log/mantis.log
RUST_BACKTRACE=full RUST_LOG="trace,rustls=warn,reqwest=warn" ${composable-vm.packages.${system}.mantis}/bin/mantis solve --rpc-centauri "${networks.pica.mainnet.RPC}" --grpc-centauri "${networks.pica.mainnet.GRPC}" --cvm-contract "centauri19dw7w5cm48aeqwszva8kxmnfnft7wp4xt4s73ksyhdya704r3cdq389szq" --wallet "$MANTIS_COSMOS_MNEMONIC" --order-contract="centauri1f0a8md6ukrgmpyrpjv9pm5x9d4wx7mumcdr3qjc8mlguqssjy7xq4eennk" --main-chain-id="${networks.pica.mainnet.CHAIN_ID}" --router="http://ec2-54-246-72-76.eu-west-1.compute.amazonaws.com:8000" --gas="2000000000" | tee /var/log/mantis.log
'';



mantis-solver-simulator = ''
${builtins.readFile ./setup_secrets.sh}
RUST_BACKTRACE=1 RUST_LOG=trace ${composable-vm.packages.${system}.mantis}/bin/mantis simulate --rpc-centauri "${networks.pica.mainnet.RPC}" --grpc-centauri "${networks.pica.mainnet.GRPC}" --order-contract="centauri1f0a8md6ukrgmpyrpjv9pm5x9d4wx7mumcdr3qjc8mlguqssjy7xq4eennk" --wallet "$MANTIS_COSMOS_MNEMONIC" --cvm-contract "centauri19dw7w5cm48aeqwszva8kxmnfnft7wp4xt4s73ksyhdya704r3cdq389szq" --main-chain-id="${networks.pica.mainnet.CHAIN_ID}" --coins="20000000000ppica,10000ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" --coins="10000ibc/B063BCBCD45084893C9889EBE472D666F7E6F56300897DCECDFD7EB88C3E8609,10000ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" | tee /var/log/mantis.log
RUST_BACKTRACE=1 RUST_LOG="trace,rustls=warn,reqwest=warn" ${composable-vm.packages.${system}.mantis}/bin/mantis simulate --rpc-centauri "${networks.pica.mainnet.RPC}" --grpc-centauri "${networks.pica.mainnet.GRPC}" --order-contract="centauri1f0a8md6ukrgmpyrpjv9pm5x9d4wx7mumcdr3qjc8mlguqssjy7xq4eennk" --wallet "$MANTIS_COSMOS_MNEMONIC" --cvm-contract "centauri19dw7w5cm48aeqwszva8kxmnfnft7wp4xt4s73ksyhdya704r3cdq389szq" --main-chain-id="${networks.pica.mainnet.CHAIN_ID}" --coins="20000000000ppica,10000ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" --coins="10000ibc/B063BCBCD45084893C9889EBE472D666F7E6F56300897DCECDFD7EB88C3E8609,10000ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" | tee /var/log/mantis.log
'';


Expand All @@ -71,7 +71,7 @@
# run by 3rd party
mantis-blackbox-script = ''
export CVM_ADDRESS='osmo15rquxg3zw8tcgj82hkz2qzy4f69nzzt5yl2qlgqkw6l9drlhfvcsr2yc8y'
RUST_BACKTRACE=1 RUST_LOG=trace ${composable-vm.packages.${system}.mantis-blackbox}/bin/mantis-blackbox | tee /var/log/blackbox.log
RUST_BACKTRACE=1 RUST_LOG="trace,rustls=warn,reqwest=warn" ${composable-vm.packages.${system}.mantis-blackbox}/bin/mantis-blackbox | tee /var/log/blackbox.log
'';

mkLiveConfigModule = script: {
Expand Down

0 comments on commit 596bd9d

Please sign in to comment.