ether-router
ether-router copied to clipboard
List is not corret
At geth
> token.setList.sendTransaction(1, [1,2,3], {from: web3.eth.accounts[0]})
I0823 19:06:55.928172 eth/api.go:1193] Tx(0x0f593383ea3597d9d0d4726c0ba4eb9fdc61b541b4a39a686bf9baf88d01680e) to: 0x4f4f00a3a4567cd765e26614690012fcd9e97053
"0x0f593383ea3597d9d0d4726c0ba4eb9fdc61b541b4a39a686bf9baf88d01680e"
> I0823 19:07:01.976182 miner/miner.go:119] Starting mining operation (CPU=4 TOT=5)
I0823 19:07:01.979166 miner/worker.go:573] commit new work on block 140 with 1 txs & 0 uncles. Took 2.910867ms
I0823 19:07:04.963890 miner/worker.go:339] 🔨 Mined block (#140 / d58c92ff). Wait 5 blocks for confirmation
I0823 19:07:04.964074 miner/worker.go:573] commit new work on block 141 with 0 txs & 0 uncles. Took 145.049µs
I0823 19:07:04.964097 miner/worker.go:435] 🔨 🔗 Mined 5 blocks back: block #135
I0823 19:07:04.964298 miner/worker.go:573] commit new work on block 141 with 0 txs & 0 uncles. Took 138.797µs
> token.getAll.call(1);
[]
But the testrpc is no problem.
http://vessenes.com/solidity-frustrations-references-and-mapping/