Open rajnishfrost opened 1 year ago
The docs are completely insufficient here.
All of the fee
based flags at the avalanchego level only relate to the X-chain and the P-chain.
I don't think the C-chain configs easily allow a user to specify the fee rules.
This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen
label will cause this issue to ignore lifecycle events.
Describe the bug after the setup of avalanche local test network as instruct in the document . when we are deploying contract its charges gas fee , while starting up the nodes we are using flag "--tx-fee=0" for 0 gas fee .
example - ./build/avalanchego --public-ip=127.0.0.1 --http-port=9550 --tx-fee=0 --staking-port=9551 --db-dir=db/node1 --network-id=local --staking-tls-cert-file=$(pwd)/staking/local/staker1.crt --staking-tls-key-file=$(pwd)/staking/local/staker1.key same way other four node setups with some changes
To Reproduce => which command triggred the issue : truffle migrate --network avalanche => Provide us with commands that you used to start your validators: ./build/avalanchego --public-ip=127.0.0.1 --http-port=9550 --tx-fee=0 --staking-port=9551 --db-dir=db/node1 --network-id=local --staking-tls-cert-file=$(pwd)/staking/local/staker1.crt --staking-tls-key-file=$(pwd)/staking/local/staker1.key
Expected behavior smart contract should deploy on local network and respond with success status and contract address without charging gas fee or gas fee should be zero.
Logs Starting migrations...
1_initial_migration.js
Deploying 'Migrations'
Summary
it costing fee for deployment of smart contract .
Operating System ubuntu os 20.04.5 (LTS) os type - 64 bit processor - Intel® Core™ i5-4590T CPU @ 2.00GHz × 4 ram - 16 GB DDR3 rom - 256 GB (hdd)