Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
Merged
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mint-ai-tokens-to-federator:

transfer-eth-to-provider:
set -a; source ${ENV_FILE}; set +a; \
cargo run -p dev-utils --example transfer_eth -- --address $${PROVIDER_ADDRESS} --key $${PRIVATE_KEY_FEDERATOR} --rpc-url $${RPC_URL} --amount 1000000000000000000
cargo run -p dev-utils --example transfer_eth -- --address $${PROVIDER_ADDRESS} --key $${PRIVATE_KEY_FEDERATOR} --rpc-url $${RPC_URL} --amount 10000000000000000

transfer-eth-to-pool-owner:
set -a; source ${ENV_FILE}; set +a; \
Expand Down
2 changes: 1 addition & 1 deletion worker/src/operations/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl ProviderOperations {
);
Console::info(
"ETH Balance",
&format!("{} ETH", eth_balance / U256::from(10u128.pow(18))),
&format!("{:.6} ETH", { f64::from(eth_balance) / 10f64.powf(18.0) }),
);
if balance < stake {
Console::user_error(&format!(
Expand Down