pull/1/head
yann300 5 years ago
parent f8ade1ed3e
commit ad8ef2911d
  1. 14
      test-browser/tests/recorder.js

@ -70,7 +70,7 @@ var sources = [{'browser/testRecorder.sol': {content: `contract testRecorder {
var records = `{ var records = `{
"accounts": { "accounts": {
"account{3}": "0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c" "account{10}": "0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c"
}, },
"linkReferences": { "linkReferences": {
"testLib": "created{1512830014773}" "testLib": "created{1512830014773}"
@ -87,7 +87,7 @@ var records = `{
"linkReferences": {}, "linkReferences": {},
"inputs": "()", "inputs": "()",
"type": "constructor", "type": "constructor",
"from": "account{3}" "from": "account{10}"
} }
}, },
{ {
@ -113,7 +113,7 @@ var records = `{
"name": "", "name": "",
"type": "constructor", "type": "constructor",
"inputs": "(uint256)", "inputs": "(uint256)",
"from": "account{3}" "from": "account{10}"
} }
}, },
{ {
@ -129,7 +129,7 @@ var records = `{
"name": "set", "name": "set",
"inputs": "(uint256,address)", "inputs": "(uint256,address)",
"type": "function", "type": "function",
"from": "account{3}" "from": "account{10}"
} }
} }
], ],
@ -228,7 +228,7 @@ var records = `{
var scenario = { var scenario = {
'accounts': { 'accounts': {
'account{3}': '0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c' 'account{10}': '0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c'
}, },
'linkReferences': {}, 'linkReferences': {},
'transactions': [ 'transactions': [
@ -246,7 +246,7 @@ var scenario = {
'name': '', 'name': '',
'type': 'constructor', 'type': 'constructor',
'inputs': '(uint256)', 'inputs': '(uint256)',
'from': 'account{3}' 'from': 'account{10}'
} }
}, },
{ {
@ -261,7 +261,7 @@ var scenario = {
'name': 'set', 'name': 'set',
'inputs': '(uint256)', 'inputs': '(uint256)',
'type': 'function', 'type': 'function',
'from': 'account{3}' 'from': 'account{10}'
} }
} }
], ],

Loading…
Cancel
Save