Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Constants to new files #76

Merged
merged 5 commits into from
Mar 30, 2020
Merged

Move Constants to new files #76

merged 5 commits into from
Mar 30, 2020

Conversation

brianwchou
Copy link
Owner

@brianwchou brianwchou commented Mar 30, 2020

Description

  • Move constants out of files
  • Migrate HangmanFactory into the ropsten network
  • Add comments to constants for location of data

Changes

yarn run v1.17.3
$ truffle migrate --network ropsten

Migrations dry-run (simulation)
===============================
> Network name:    'ropsten-fork'
> Network id:      3
> Block gas limit: 0x7a121d


1_HangmanFactory_migration.js
=============================

   Deploying 'HangmanFactory'
   --------------------------
   > block number:        7620781
   > block timestamp:     1585591408
   > account:             0xb893D8F6779842959C1dfC3095b1c62ceAA16703
   > balance:             20.0673350846
   > gas used:            3707424
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.007414848 ETH

   -------------------------------------
   > Total cost:         0.007414848 ETH


2_HangmanFactory_migration.js
=============================
   -------------------------------------
   > Total cost:                   0 ETH


Summary
=======
> Total deployments:   1
> Final cost:          0.007414848 ETH





Starting migrations...
======================
> Network name:    'ropsten'
> Network id:      3
> Block gas limit: 0x7a121d


1_HangmanFactory_migration.js
=============================

   Deploying 'HangmanFactory'
   --------------------------
   > transaction hash:    0xed3edac2d55bf763a88a27bea02565004b5b70e54beda4f446e37e6c24436c8e
   > Blocks: 0            Seconds: 40
   > contract address:    0x1598ea16d7BC79868DdECd8025169f561C722E6F
   > block number:        7620781
   > block timestamp:     1585591459
   > account:             0xb893D8F6779842959C1dfC3095b1c62ceAA16703
   > balance:             19.9967014526
   > gas used:            3902424
   > gas price:           20 gwei
   > value sent:          0 ETH
   > total cost:          0.07804848 ETH

   > Saving artifacts
   -------------------------------------
   > Total cost:          0.07804848 ETH


2_HangmanFactory_migration.js
=============================
   -------------------------------------
   > Total cost:                   0 ETH


Summary
=======
> Total deployments:   1
> Final cost:          0.07804848 ETH



✨  Done in 83.07s.

Test

@ejwessel
Copy link
Collaborator

let's also update the UI addresss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants