0xpatrickdev / agoric-vault-collateral-proposal

CoreEval Proposal and Permits for Inter Vault Collateral Type
0 stars 3 forks source link

Add'l Documentation: cost to deploy bundles #13

Open 0xpatrickdev opened 1 year ago

0xpatrickdev commented 1 year ago

Helpful info that needs to make its way into the README:

dckc commented 1 year ago

Also, consider a bit of context/motivation in the README.

In particular, cite

0xpatrickdev commented 12 months ago

Worth also adding something about the required uist needed for the bundle deploys? If you can remind me of the cost per byte, I can add something.

Hash Size Cost
b1-1c8e93... 948,173 bytes
b1-8fb229... 1,456,129 bytes
b1-c185bf... 1,465,213 bytes
b1-e4ba9c... 1,114,541 bytes
Total 4,984,056 bytes
dckc commented 12 months ago

0.02 IST/kb is the rough approximation that sticks in my head.

it's a product of DefaultBeansPerStorageByte https://github.com/Agoric/agoric-sdk/blob/ac9f916a844f06db1c43e9cc69a948d9c3528a4e/golang/cosmos/x/swingset/types/default-params.go#L51

and price per beans, somewhere also in that file, I think. Gotta run.

0xpatrickdev commented 11 months ago

The linked document states that DefaultBeansPerStorageByte, is $0.002.

image

If the answer to these is yes, I will include in the docs. The numbers are on the high end so I'd like to confirm first.