The developing Ethereum Smart Contracts and calculating GAS price makes me feel nostalgic about OS360 times.
1 2 3 4 5 6 7 8 9 |
struct Agreement { bytes16 id; uint16 holdPeriod; uint16 reviewPeriod; uint16 contractAmount; address principal; address contractor; string ipfsHash; } |
GAS: 126136
1 2 3 4 5 6 7 8 9 |
struct Agreement { bytes16 id; address principal; address contractor; string ipfsHash; uint16 holdPeriod; uint16 reviewPeriod; uint16 contractAmount; } |
GAS: 146316
And even more funny:
1 2 3 4 5 6 7 8 9 |
struct Agreement { bytes32 id; uint holdPeriod; uint reviewPeriod; uint contractAmount; address principal; address contractor; string ipfsHash; } |
GAS: 185471
but
1 2 3 4 5 6 7 8 |
bytes32 id; address principal; address contractor; string ipfsHash; uint holdPeriod; uint reviewPeriod; uint contractAmount; } |
185480