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

Null error after trying to create ballot #89

Open
XertroV opened this issue Jun 8, 2018 · 0 comments
Open

Null error after trying to create ballot #89

XertroV opened this issue Jun 8, 2018 · 0 comments
Assignees

Comments

@XertroV
Copy link
Member

XertroV commented Jun 8, 2018

screen shot 2018-06-08 at 17 27 25

(Note, I did click the "try again" btn)

Console.log

UPDATED
build.js:80 Updated binary vote value Array(1)
build.js:6 SENDING VOTE 0xEbB50AC73d610a68A5997Ab6227A980DbE250Ae1 42158122591181181050644494665655426681362716796054723426373822021887 0x800000000000000000000000000000000000
build.js:64 currentTxs Array(3)
build.js:64 in state Array(3)
build.js:80 Got receipt!  Object
build.js:6 Array(53)
build.js:6 Found Vote!  Object
build.js:80 GOIING TO UPDATE THE TX NOW.
build.js:64 ADDING THE TRANSAXTION
build.js:64 ADDED THE TRANSAXTION
build.js:80 0x5892204b2fb82FA4944A25b721EF90c51769BD72
build.js:80 w
build.js:80 BackendContract : w
build.js:80 isEditor : Object
build.js:80 RESULT OF IS EDITOR true
build.js:80 GOT THE PRICE... 1000
build.js:80 GOT THE PRICE... 18975332000000000
build.js:80 GAS PRICE RESP 100
build.js:80 Sending ballot spec {
  "ballotVersion": 1,
  "ballotInner": {
    "ballotTitle": "Test Ballot 4",
    "shortDesc": "This is the description",
    "longDesc": "This is the description",
    "startTime": 1528442680,
    "endTime": 1529652280,
    "erc20Addr": "0xc3D10aF066bde2357C92Bc4Af25FB5f42e73F1a4",
    "discussionLink": null,
    "binding": false,
    "encryptionPK": null,
    "options": {
      "optionsVersion": 1,
      "options": [
        {
          "optionTitle": "gold",
          "optionDesc": "o1"
        },
        {
          "optionTitle": "real estate",
          "optionDesc": "o2"
        },
        {
          "optionTitle": "tech stocks",
          "optionDesc": null
        }
      ]
    }
  }
}
build.js:80 b64 ewogICJiYWxsb3RWZXJzaW9uIjogMSwKICAiYmFsbG90SW5uZXIiOiB7CiAgICAiYmFsbG90VGl0bGUiOiAiVGVzdCBCYWxsb3QgNCIsCiAgICAic2hvcnREZXNjIjogIlRoaXMgaXMgdGhlIGRlc2NyaXB0aW9uIiwKICAgICJsb25nRGVzYyI6ICJUaGlzIGlzIHRoZSBkZXNjcmlwdGlvbiIsCiAgICAic3RhcnRUaW1lIjogMTUyODQ0MjY4MCwKICAgICJlbmRUaW1lIjogMTUyOTY1MjI4MCwKICAgICJlcmMyMEFkZHIiOiAiMHhjM0QxMGFGMDY2YmRlMjM1N0M5MkJjNEFmMjVGQjVmNDJlNzNGMWE0IiwKICAgICJkaXNjdXNzaW9uTGluayI6IG51bGwsCiAgICAiYmluZGluZyI6IGZhbHNlLAogICAgImVuY3J5cHRpb25QSyI6IG51bGwsCiAgICAib3B0aW9ucyI6IHsKICAgICAgIm9wdGlvbnNWZXJzaW9uIjogMSwKICAgICAgIm9wdGlvbnMiOiBbCiAgICAgICAgewogICAgICAgICAgIm9wdGlvblRpdGxlIjogImdvbGQiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzEiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAicmVhbCBlc3RhdGUiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzIiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAidGVjaCBzdG9ja3MiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiBudWxsCiAgICAgICAgfQogICAgICBdCiAgICB9CiAgfQp9
build.js:80 Removing  Object
build.js:80 0xd7842c69f5c675aea557293f4193c8804ee126ea4e095203963243c890c71310
build.js:80 INDEX CONTRACT w
build.js:80 ERROR DEPLOYING BALLOT TO S3
build.js:80 Sending ballot spec {
  "ballotVersion": 1,
  "ballotInner": {
    "ballotTitle": "Test Ballot 4",
    "shortDesc": "This is the description",
    "longDesc": "This is the description",
    "startTime": 1528442680,
    "endTime": 1529652280,
    "erc20Addr": "0xc3D10aF066bde2357C92Bc4Af25FB5f42e73F1a4",
    "discussionLink": null,
    "binding": false,
    "encryptionPK": null,
    "options": {
      "optionsVersion": 1,
      "options": [
        {
          "optionTitle": "gold",
          "optionDesc": "o1"
        },
        {
          "optionTitle": "real estate",
          "optionDesc": "o2"
        },
        {
          "optionTitle": "tech stocks",
          "optionDesc": null
        }
      ]
    }
  }
}
build.js:80 b64 ewogICJiYWxsb3RWZXJzaW9uIjogMSwKICAiYmFsbG90SW5uZXIiOiB7CiAgICAiYmFsbG90VGl0bGUiOiAiVGVzdCBCYWxsb3QgNCIsCiAgICAic2hvcnREZXNjIjogIlRoaXMgaXMgdGhlIGRlc2NyaXB0aW9uIiwKICAgICJsb25nRGVzYyI6ICJUaGlzIGlzIHRoZSBkZXNjcmlwdGlvbiIsCiAgICAic3RhcnRUaW1lIjogMTUyODQ0MjY4MCwKICAgICJlbmRUaW1lIjogMTUyOTY1MjI4MCwKICAgICJlcmMyMEFkZHIiOiAiMHhjM0QxMGFGMDY2YmRlMjM1N0M5MkJjNEFmMjVGQjVmNDJlNzNGMWE0IiwKICAgICJkaXNjdXNzaW9uTGluayI6IG51bGwsCiAgICAiYmluZGluZyI6IGZhbHNlLAogICAgImVuY3J5cHRpb25QSyI6IG51bGwsCiAgICAib3B0aW9ucyI6IHsKICAgICAgIm9wdGlvbnNWZXJzaW9uIjogMSwKICAgICAgIm9wdGlvbnMiOiBbCiAgICAgICAgewogICAgICAgICAgIm9wdGlvblRpdGxlIjogImdvbGQiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzEiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAicmVhbCBlc3RhdGUiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzIiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAidGVjaCBzdG9ja3MiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiBudWxsCiAgICAgICAgfQogICAgICBdCiAgICB9CiAgfQp9
build.js:80 Sending ballot spec {
  "ballotVersion": 1,
  "ballotInner": {
    "ballotTitle": "Test Ballot 4",
    "shortDesc": "This is the description",
    "longDesc": "This is the description",
    "startTime": 1528442680,
    "endTime": 1529652280,
    "erc20Addr": "0xc3D10aF066bde2357C92Bc4Af25FB5f42e73F1a4",
    "discussionLink": null,
    "binding": false,
    "encryptionPK": null,
    "options": {
      "optionsVersion": 1,
      "options": [
        {
          "optionTitle": "gold",
          "optionDesc": "o1"
        },
        {
          "optionTitle": "real estate",
          "optionDesc": "o2"
        },
        {
          "optionTitle": "tech stocks",
          "optionDesc": null
        }
      ]
    }
  }
}
build.js:80 b64 ewogICJiYWxsb3RWZXJzaW9uIjogMSwKICAiYmFsbG90SW5uZXIiOiB7CiAgICAiYmFsbG90VGl0bGUiOiAiVGVzdCBCYWxsb3QgNCIsCiAgICAic2hvcnREZXNjIjogIlRoaXMgaXMgdGhlIGRlc2NyaXB0aW9uIiwKICAgICJsb25nRGVzYyI6ICJUaGlzIGlzIHRoZSBkZXNjcmlwdGlvbiIsCiAgICAic3RhcnRUaW1lIjogMTUyODQ0MjY4MCwKICAgICJlbmRUaW1lIjogMTUyOTY1MjI4MCwKICAgICJlcmMyMEFkZHIiOiAiMHhjM0QxMGFGMDY2YmRlMjM1N0M5MkJjNEFmMjVGQjVmNDJlNzNGMWE0IiwKICAgICJkaXNjdXNzaW9uTGluayI6IG51bGwsCiAgICAiYmluZGluZyI6IGZhbHNlLAogICAgImVuY3J5cHRpb25QSyI6IG51bGwsCiAgICAib3B0aW9ucyI6IHsKICAgICAgIm9wdGlvbnNWZXJzaW9uIjogMSwKICAgICAgIm9wdGlvbnMiOiBbCiAgICAgICAgewogICAgICAgICAgIm9wdGlvblRpdGxlIjogImdvbGQiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzEiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAicmVhbCBlc3RhdGUiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzIiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAidGVjaCBzdG9ja3MiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiBudWxsCiAgICAgICAgfQogICAgICBdCiAgICB9CiAgfQp9
build.js:80 0xd7842c69f5c675aea557293f4193c8804ee126ea4e095203963243c890c71310
build.js:80 INDEX CONTRACT wBatchRequest: ƒ ()clearSubscriptions: ƒ (e)currentProvider: (...)defaultAccount: (...)defaultBlock: (...)events: {PayoutAll: ƒ, 0xe2644f8d6fd3207ea14ef6a361b94bee348c8e5834539376241010dbd2562472: ƒ, PayoutAll(address,uint256): ƒ, OwnerChanged: ƒ, 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36: ƒ, …}extend: ƒ (t)givenProvider: MetamaskInpageProvider {mux: e.exports, publicConfigStore: e, rpcEngine: t, send: ƒ}methods: {dDeprecateCategory: ƒ, 0x06ed69b9: ƒ, dDeprecateCategory(bytes32,uint256): ƒ, getVersion: ƒ, 0x0d8e6e2c: ƒ, …}options: {}providers: {WebsocketProvider: ƒ, HttpProvider: ƒ, IpcProvider: ƒ}setProvider: ƒ (t,a)_address: "0x11d71a566263f88811C3ec98b5C9AC2C6108c354"_jsonInterface: (73) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]_provider: r {host: "https://kovan.eth.secure.vote:8545/tokenvote-dev", timeout: 0, connected: true, headers: undefined}_requestManager: e {provider: r, providers: {…}, subscriptions: {…}}get currentProvider: ƒ ()set currentProvider: ƒ (t)get defaultAccount: ƒ ()set defaultAccount: ƒ (e)get defaultBlock: ƒ ()set defaultBlock: ƒ (e)__proto__: e
build.js:80 ERROR DEPLOYING BALLOT TO S3
build.js:80 0xd7842c69f5c675aea557293f4193c8804ee126ea4e095203963243c890c71310
build.js:80 INDEX CONTRACT w {_requestManager: e, givenProvider: MetamaskInpageProvider, providers: {…}, _provider: r, …}
build.js:80 ERROR DEPLOYING BALLOT TO S3
build.js:80 Sending ballot spec {
  "ballotVersion": 1,
  "ballotInner": {
    "ballotTitle": "Test Ballot 4",
    "shortDesc": "This is the description",
    "longDesc": "This is the description",
    "startTime": 1528442680,
    "endTime": 1529652280,
    "erc20Addr": "0xc3D10aF066bde2357C92Bc4Af25FB5f42e73F1a4",
    "discussionLink": null,
    "binding": false,
    "encryptionPK": null,
    "options": {
      "optionsVersion": 1,
      "options": [
        {
          "optionTitle": "gold",
          "optionDesc": "o1"
        },
        {
          "optionTitle": "real estate",
          "optionDesc": "o2"
        },
        {
          "optionTitle": "tech stocks",
          "optionDesc": null
        }
      ]
    }
  }
}
build.js:80 b64 ewogICJiYWxsb3RWZXJzaW9uIjogMSwKICAiYmFsbG90SW5uZXIiOiB7CiAgICAiYmFsbG90VGl0bGUiOiAiVGVzdCBCYWxsb3QgNCIsCiAgICAic2hvcnREZXNjIjogIlRoaXMgaXMgdGhlIGRlc2NyaXB0aW9uIiwKICAgICJsb25nRGVzYyI6ICJUaGlzIGlzIHRoZSBkZXNjcmlwdGlvbiIsCiAgICAic3RhcnRUaW1lIjogMTUyODQ0MjY4MCwKICAgICJlbmRUaW1lIjogMTUyOTY1MjI4MCwKICAgICJlcmMyMEFkZHIiOiAiMHhjM0QxMGFGMDY2YmRlMjM1N0M5MkJjNEFmMjVGQjVmNDJlNzNGMWE0IiwKICAgICJkaXNjdXNzaW9uTGluayI6IG51bGwsCiAgICAiYmluZGluZyI6IGZhbHNlLAogICAgImVuY3J5cHRpb25QSyI6IG51bGwsCiAgICAib3B0aW9ucyI6IHsKICAgICAgIm9wdGlvbnNWZXJzaW9uIjogMSwKICAgICAgIm9wdGlvbnMiOiBbCiAgICAgICAgewogICAgICAgICAgIm9wdGlvblRpdGxlIjogImdvbGQiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzEiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAicmVhbCBlc3RhdGUiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiAibzIiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAib3B0aW9uVGl0bGUiOiAidGVjaCBzdG9ja3MiLAogICAgICAgICAgIm9wdGlvbkRlc2MiOiBudWxsCiAgICAgICAgfQogICAgICBdCiAgICB9CiAgfQp9
build.js:80 0xd7842c69f5c675aea557293f4193c8804ee126ea4e095203963243c890c71310
build.js:80 INDEX CONTRACT w {_requestManager: e, givenProvider: MetamaskInpageProvider, providers: {…}, _provider: r, …}BatchRequest: ƒ ()clearSubscriptions: ƒ (e)currentProvider: (...)defaultAccount: (...)defaultBlock: (...)events: {PayoutAll: ƒ, 0xe2644f8d6fd3207ea14ef6a361b94bee348c8e5834539376241010dbd2562472: ƒ, PayoutAll(address,uint256): ƒ, OwnerChanged: ƒ, 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36: ƒ, …}extend: ƒ (t)givenProvider: MetamaskInpageProvider {mux: e.exports, publicConfigStore: e, rpcEngine: t, send: ƒ}methods: {dDeprecateCategory: ƒ, 0x06ed69b9: ƒ, dDeprecateCategory(bytes32,uint256): ƒ, getVersion: ƒ, 0x0d8e6e2c: ƒ, …}options: {}providers: {WebsocketProvider: ƒ, HttpProvider: ƒ, IpcProvider: ƒ}setProvider: ƒ (t,a)_address: "0x11d71a566263f88811C3ec98b5C9AC2C6108c354"_jsonInterface: (73) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]_provider: r {host: "https://kovan.eth.secure.vote:8545/tokenvote-dev", timeout: 0, connected: true, headers: undefined}_requestManager: e {provider: r, providers: {…}, subscriptions: {…}}get currentProvider: ƒ ()set currentProvider: ƒ (t)get defaultAccount: ƒ ()set defaultAccount: ƒ (e)get defaultBlock: ƒ ()set defaultBlock: ƒ (e)__proto__: e
build.js:80 ERROR DEPLOYING BALLOT TO S3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants