Comments (4)
Hey @nate-staked ✋
Thank you for such detailed logs and explanations.
It looks like node register transaction took more gas than it was originally expected (3.5m) so it ran out of gas. We'll create a hotfix for this particular transaction ASAP. We'll ping you when the release of skale-node will be shipped so you can update.
Also, we have a ticket about the new approach of gas estimation in the skale.py library - it will be implemented in the nearest future.
from node-cli.
I tried upgrading to a version 0.10.1-beta.1
at Ebru's direction:
export NODE_VERSION_NUM=0.10.1-beta.1
sudo -E bash -c "curl -L https://skale-cli.sfo2.cdn.digitaloceanspaces.com/beta/skale-${NODE_VERSION_NUM}-`uname -s`-`uname -m` > /usr/local/bin/skale-${NODE_VERSION_NUM}"
sudo chmod +x /usr/local/bin/skale-${NODE_VERSION_NUM}
ln -fs /usr/local/bin/skale-${NODE_VERSION_NUM} /usr/local/bin/skale
skale node update ./env
but still got the same error: https://rinkeby.etherscan.io/tx/0x1eef3ce1ad0f1bbe96c2317f88916652a082c622caccffd166834a0ae1f4e658
skale_api logs:
[2020-08-26 20:34:51 +0000] [8] [DEBUG] POST /create-node
[2020-08-26 20:35:21,840 INFO] core.node - MainThread -
====================================================================================================
Node create started
IP: 52.249.250.53
Public IP: 52.249.250.53
Port: 10000
Name: skale-1
====================================================================================================
[2020-08-26 20:35:21,939 INFO] skale.contracts.manager - MainThread - create_node: 52.249.250.53:10000, public ip: 52.249.250.53 name: skale-1
[2020-08-26 20:35:21,946 INFO] skale.transactions.tools - MainThread - Dry run tx: createNode, sender: 0x9e6737c6C3B69397c439d1D2084D8d1dDB8669C9, wallet: RPCWallet, gasLimit: 3500000
[2020-08-26 20:35:21,980 INFO] skale.transactions.tools - MainThread - Tx: createNode, sender: 0x9e6737c6C3B69397c439d1D2084D8d1dDB8669C9, wallet: RPCWallet, gasLimit: 3500000, gasPrice: 1250000000
[2020-08-26 20:36:08,837 INFO] skale.utils.web3_utils - MainThread - Current block number is 7087888, waiting for 5 confimration blocks to be mined
[2020-08-26 20:37:34,282 ERROR] core.node - MainThread - Node creation failed
Traceback (most recent call last):
File "/usr/src/admin/core/node.py", line 91, in register
confirmation_blocks=NODE_REGISTER_CONFIRMATION_BLOCKS
File "/usr/local/lib/python3.7/dist-packages/skale/contracts/base_contract.py", line 84, in wrapper
tx_res.raise_for_status()
File "/usr/local/lib/python3.7/dist-packages/skale/transactions/result.py", line 98, in raise_for_status
raise TransactionFailedError(f'Transaction failed. '
skale.transactions.result.TransactionFailedError: Transaction failed. See receipt AttributeDict({'blockHash': HexBytes('0x71f4ca90f8f4f9faca550decf373bbf2206681a6e605925e4d9c556672fd307d'), 'blockNumber': 7087889, 'contractAddress': None, 'cumulativeGasUsed': 3814470, 'from': '0x9e6737c6C3B69397c439d1D2084D8d1dDB8669C9', 'gasUsed': 3359496, 'logs': [], 'logsBloom': HexBytes('0x00
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'), 'status': 0, 'to': '0x139360fc743b1DA2adb43F5999E28998Da3b6285', 'transactionHash': HexBytes('0x1eef3ce1ad0f1bbe96c2317f88916652a082c622caccffd166834a0ae1f4e658'), 'transactionIndex': 3})
from node-cli.
We pushed a hotfix for this issue to the alpine-hard-upgrade
branch in the skale-node
.
Now you can update your software and try to register again:
- Re-check your
.env
file -CONTAINER_CONFIGS_STREAM
should be equal toalpine-hard-upgrade
- Run
skale node update --yes [PATH-TO-ENV-FILE]
- Register a node:
skale node register
Feel free to close the issue if you will be able to register a node after this fix.
from node-cli.
that worked 🎉
https://rinkeby.etherscan.io/tx/0x0e28a8c10f7efba3a36767f37f84e010dadc8678e7bc1e720ae7adda6cb274c1
thanks!
from node-cli.
Related Issues (20)
- Introduce codecoverage and push data to codecov
- Introduce termcolor module to print meaningful information
- raise SystemExit() instead of sys.exit()
- Make a formula for node-cli in homebrew HOT 1
- urllib3, chardet, charset_normalizer dependency issue HOT 1
- Upgrade to use python 3.11
- Ubuntu 20.04 support HOT 1
- Add the OS version check for Watchdog API HOT 3
- No logs printed in node-cli log files HOT 2
- Failing skale node-sync command (cannot find docker/lvmpy.json) HOT 5
- Command [vgremove schains -y] failed, error: Logical volume schains/shared-space in use. HOT 6
- Downgrade checks to a warning and not a hard fail
- Upgrade node-cli sync node version with 2.3.0 changes HOT 2
- Add repair option for sync-node-cli
- Node-cli don't pull changes in skale-node after unsuccessful node update
- Node-cli don't pull image kubernetes/pause
- Update OS version info during the execution of "skale node turn-on" command
- Allow to change block device name
- Can't sync and start chaos (staging-fast-active-bellatrix) HOT 2
- Broadcasts aren't sent after node restore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-cli.