This repository was archived by the owner on Jun 29, 2021. It is now read-only.
This repository was archived by the owner on Jun 29, 2021. It is now read-only.
kaya on local blockchain : testblockchain.js => Blockchain error #106
Open
Description
I was able to run node testblockchain.js
on kaya with remote interpreter, but got a error when trying to run the local interpreter:
$ ~/zilliqa/kaya$ node src/server.js -v -f test/account-fixtures.json
ZILLIQA KAYA RPC SERVER (ver: 0.2.9)
Server listening on 127.0.0.1:4200
Running from local interpreter
================================================================================
[App.js] : Bootstrapping from account fixture files: test/account-fixtures.json
[Wallet] : Valid accounts file
[Wallet] : 10 wallets bootstrapped from file
$ ~/zilliqa/kaya/test/scripts$ node testblockchain.js
Transaction {
code: '',
data: '',
version: 7274497,
toAddr: '0xd90f2e538CE0Df89c8273CAd3b63ec44a3c4ed82',
nonce: 1,
pubKey:
'03d8e6450e260f80983bcd4fadb6cbc132ae7feb552dda45f94b48c80b86c6c3be',
amount: <BN: 378>,
signature:
'7e620f5a742ac3f8eae9cf4bd2d5f57118e1ce6600c05df42b7828650f74e4c85e7747745197e13212be259ba61dd1faafb232e136768699a8ff7027d382f8d9',
gasPrice: <BN: 48c3f117040>,
gasLimit: Long { low: 10, high: 0, unsigned: false },
receipt: { cumulative_gas: 10, success: true },
provider:
HTTPProvider {
middleware: { request: [Object], response: [Object] },
nodeURL: 'http://localhost:4200',
reqMiddleware: Map { 'CreateTransaction' => [Array] },
resMiddleware: Map {} },
status: 2,
toDS: false,
blockConfirmation: 0,
eventEmitter:
EventEmitter {
handlers: {},
emitter:
{ on: [Function: on],
off: [Function: off],
emit: [Function: emit] },
off: [Function: bound off],
emit: [Function: bound emit],
resolve: [Function],
reject: [Function],
promise: Promise { <pending> },
then: [Function: bound then] },
id:
'f0a06fb58f52772afb7a3356177c77e67b7f6b53521846b6463e3795a0b1eabb' }
Deploying a contract now
(node:4186) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
Deployment Transaction ID: 07105f50102bf0f316eefe7867908f1847a7c0d736ca1a63849e776e9d5f2af6
Deployment Transaction Receipt: { cumulative_gas: 100, success: false }
Blockchain Error
Contract has not been deployed!
Metadata
Metadata
Assignees
Labels
No labels