Skip to content

Commit

Permalink
fix formatting of table
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed Aug 5, 2020
1 parent d5e51e5 commit a4c72fa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/concepts/gas.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ Etherscan gives a [historic Ethereum gas price chart](https://etherscan.io/chart

Multiplying Ethereum's gas units by gas price usually results in an amount that easy to show in milliETH (mE), the same way we've been converting NEAR's TGas to milliNEAR. Let's look at some common operations side-by-side, comparing ETH's gas units to NEAR's, as well as converting to both the above "average" & "high" gas prices.

| Operation | ETH gas units | avg mE | high mE | NEAR TGas | mN
| ----------------------------------------------- | ------------- | ------ | ------- | --------- | -----
| Transfer native token (ETH or NEAR) | 21k | 0.441 | 1.197 | 0.45 | 0.045
| Deploy & initialize a [fungible token] contract | [1.1M] | 23.3 | 63.1 | 0.81 | 0.081 (plus 1.5Ⓝ in storage staking)
| Transfer a fungible token | [~45k] | 0.945 | 2.565 | [14] [] | 1.4
| Setting an escrow for a fungible token | [44k] | 0.926 | 2.51 | [8] | 0.8
| Checking a balance for a fungible token | 0 | 0 | 0 | 0 | 0
| Operation | ETH gas units | avg mE | high mE | NEAR TGas | mN
| ----------------------------------------------- | ------------- | ------ | ------- | --------- | -----
| Transfer native token (ETH or NEAR) | 21k | 0.441 | 1.197 | 0.45 | 0.045
| Deploy & initialize a [fungible token] contract | [1.1M] | 23.3 | 63.1 | 0.81 | 0.081 (plus 1.5Ⓝ in storage staking)
| Transfer a fungible token | [~45k] | 0.945 | 2.565 | [14]<super>†</super> | 1.4
| Setting an escrow for a fungible token | [44k] | 0.926 | 2.51 | [8] | 0.8
| Checking a balance for a fungible token | 0 | 0 | 0 | 0 | 0

****: Function calls require spinning up a VM and loading all compiled Wasm bytes into memory, hence the increased cost over base operations; this is [being optimized](???)

Expand Down

0 comments on commit a4c72fa

Please sign in to comment.