There is a use-case where you'd like your local environment to match e.g. MainNet in terms of fees (storage/execution prices) such that you can develop your contract to fit within allowed max GAS usage requirements.
This idea would add an inline button on the PolicyContract (in the contracts panel) to sync the remote policy to the local chain. We have 2 approaches
use the RPC method invokefunction on the PolicyContract and request GetFeePerByte, GetExecFeeFactor and GetStoragePrice
use RPC servers with the StateService plugin as we know all keys to request.
There is a use-case where you'd like your local environment to match e.g. MainNet in terms of fees (storage/execution prices) such that you can develop your contract to fit within allowed max GAS usage requirements.
This idea would add an inline button on the
PolicyContract
(in the contracts panel) to sync the remote policy to the local chain. We have 2 approachesinvokefunction
on the PolicyContract and requestGetFeePerByte
,GetExecFeeFactor
andGetStoragePrice
StateService
plugin as we know all keys to request.