Giter Site home page Giter Site logo

agora-chain's People

Contributors

hewison-chris avatar michaelkim20 avatar she110ff avatar trusthenry avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agora-chain's Issues

How to Update & Exit?

Hello, I followed the instructions here

and I am getting on my execution layer:

WARN [08-31|09:32:15.180] Served engine_newPayloadV2 reqid=71 duration="96.659µs" err="Invalid parameters" errdata="{Error:non-nil withdrawals pre-shanghai}"

On Validation layer:

[2023-08-31 09:32:51] INFO validator: Waiting for beacon node to sync to latest chain head

and on Consensus layer:

[2023-08-31 09:33:38]  WARN initial-sync: Skip processing batched blocks error=beacon node doesn't have a parent in db with root: 0x556705db2ac5c22443317ae9c7abda185611f2a50c21d139ada0a80fc053ab42 (in processBatchedBlocks, slot=1610400)
[2023-08-31 09:33:47]  WARN powchain: Execution client is not syncing

I ran the following command on all layers:

(curl -fsSL https://raw.githubusercontent.com/bosagora/agora-chain/v0.x.x/upgrade.sh)"
Start the node.
./agora.sh start

this command ./agora.sh start doesn't work

I managed to generate the bLS keys successfully though and got a partial withdrawal executed. However I am having issues issuing validator exit

validator node setup

Hi I'm trying to setup a validator node on AWS. I’m very illiterate about server related matters. I followed the video instructions exactly as explained. but I need your help.
This is what I did so far.

  1. I signed up for an AWS free account.
  2. I followed video instructions and configured the AWS EC2 instances exactly as your main-net setup videos.
  3. Updated and the docker-engine installed
  4. Agora-chain main-net unzipped.
  5. Execution layer
    Init execution node done
    I ran execution node. But it did not end up like what I see on the video. Please see the screen shot. “chain is post-merge, waiting for beacon client sync switch-over..”
    “Snapshot extension registration failed peer=cbd3f861 err="peer connected on snap without compatible eth support"

Let me know if need to run “ ./agora.sh el-node run” it again or whatever is needed to go next step.

  1. Did not run Consensus Layer or any step after that.
  2. I did generate and saved the key and validator files.
    I appreciate your help.
    photo_2023-04-11_23-00-43
    Boa-mainet

BizNet to Ethereum mainnet Bridge 후에 BOA 잔고가 사라짐 / BizNet to Ethereum mainnet Bridge - BOA Balance Disappeared

안녕하세요 어디에 문의를 남겨야 할지 몰라서 여기에 남깁니다.

https://boaswap.io/bridge 에서 BOSAgora mainnet(BizNet)에 있는 BOA를 거래소에 옮기기 위해 Ethereum mainnet으로 옮기는 작업을 했는데 트랜잭션에 성공했지만 잔고가 Ethereum mainnet에 들어오지 않습니다. 해당 트랜젝션은 https://boascan.io/tx/0xcdaf4c7afacae54a32772bbe3d74d52b42cb2b6a4c8daeef167f56989422ff48/internal-transactions 인데 확인 부탁드립니다.

Hello, I am not sure where to post this, so I am leaving my inquiry here.

I was transferring BOA from BOSAgora mainnet (BizNet) at https://boaswap.io/bridge to an exchange, and for this purpose, I used the bridge to move it to the Ethereum mainnet. The transaction was successful, but the balance has not appeared in the Ethereum mainnet. The transaction in question can be found at https://boascan.io/tx/0xcdaf4c7afacae54a32772bbe3d74d52b42cb2b6a4c8daeef167f56989422ff48/internal-transactions. Could you please check on this?

cc. @MichaelKim20 @TrustHenry

Testnet: No peers syncing agora-chain-testnet?

Docker containers bosagora/agora-cl-node:v1.0.2 and bosagora/agora-el-node:v1.0.1 cant download full agora-chain on testnet.
i tried:
./agora.sh el-node init
./agora.sh docker-compose up
i disabled agora-cl-validator (no keys yet)

Docker log agora-el-node:

  • Last segment =:
    "imported new chain segment blocks=1203 txs=0 mgas=0.000 elapsed=635.218ms mgasps=0.000 number=246,645 hash=ed6909..0c67bf age=3w5d17h"
  • Then this happens:
    "Legacy sync reached merge threshold number=246,646 hash=bdadef..600e37 td=493,234 ttd=493,234"
    "Local chain is post-merge, waiting for beacon client sync switch-over..."

Docker log agora-cl-node:
"level=info msg="Waiting for enough suitable peers before syncing" prefix=initial-sync required=3 suitable=0

Its syncing over 2 days now with same errors.

Neccesary ports are exposed to the internet.
Also no peers with this method './agora.sh el-node run' and './agora.sh cl-node run'
Mainnet chain is syncing just fine.
Why cant it find peers for testnet? mainnet works ok.
thx.

proposer_config.json fee adress = voter adress?

Hi the instruction on ./networks/mainnet/root/config/cl/proposer_config.json file on youtube is different then the online manual.

Here they open the voter-file and copy the voter-adress:
https://youtu.be/Gkfn2Aq0_n8?t=616

Here they use the wallet adress you want to send the fees to:
https://docs.prylabs.network/docs/execution-node/fee-recipient

  1. Which adress is the right fee-adres? voter- or walletadress?
  2. When i have multiple nodes, is this the format of the file?:

{
"proposer_config": {
"0x[PUBLIC_KEY_1]": {
"fee_recipient": "WALLET_ADRESS?"
},
"0x[PUBLIC_KEY_2]": {
"fee_recipient": "WALLET_ADRESS?"
},
"0x[PUBLIC_KEY_3]": {
"fee_recipient": "WALLET_ADRESS?"
},
"0x[PUBLIC_KEY_4]": {
"fee_recipient": "WALLET_ADRESS?"
}
},
"default_config": {
"fee_recipient": "WALLET_ADRESS?"
}
}
thx!

Unplanned Server Migration

if I directly terminate the existing server and create a new server for the node?
erasing the temp wallet of the existing server will cause any problems? or leads to loss of funds?

validator pending 3 days

My new validator is pending for about 3 days now after deposit, the webpage says it normally takes about 16-24 hours.
Im the only one in the queue, why does it take so long to be activated?

Second question, each validator on the chain (not only me) showing negative rewards after 3 epochs. Is this normal?

port 8545 not opened in agora.sh

docker-compose.yml file refers to port 8545, but agora.sh file does not.

i couldnt find port 8545 with running el-node with agora.sh (sudo netstat -tulpn | grep LISTEN)

shouldnt agora.sh be like this? :
-p 30303:30303 -p 30303:30303/udp -p 8545:8545 \

mainnet upgrade from mainnet-v1.0.0 to agora-chain/v0.x.x/upgrade.sh

Hi, Im still running the first dockers from (https://github.com/bosagora/agora-chain/releases/tag/mainnet-v1.0.0).

The new upgrade.sh file creates a different directory tree for the imported validators than the old version. How do i move my current validators? With this file 'all-accounts.keystore.json'?

old path: /bosagora/agora-chain-mainnet/root/wallet/direct/accounts/all-accounts.keystore.json
new path: /bosagora/agora-chain/networks/mainnet/root/wallet/direct/accounts/all-accounts.keystore.json

Wich steps do i take to upgrade with my current active validators into the new directory tree (without getting slashed). ;)

I there an easy way? stop all old containers, then build/install the new tree for mainnet and then move (not copy) the all-accounts.keystore.json file to the new location? and delete the old tree?

Or do i need to destroy it the old wallet, install the new tree, create a new wallet and manually import the validators again into the new wallet on the new location?
Are these the instructions i need?: https://agora-cl-docs.bosagora.org/docs/advanced/migrating-keys (move to a new machine)

Please advise,
Thx, Rosco.

Mainnet Genesis state has not been created?

I started on mainnet with first validator. but i get genesis errors

  • i did a .'/agora.sh el-node init'. first.
  • Validator is imported into the wallet, i'm ready for deposit on mainnet. (no deposid is made yet)
  • Agora-el-node is synced till latest block.

curl http://localhost:8080/healthz gives me these erors:
*initialsync.Service: OK
*builder.Service: OK
*rpc.Service: ERROR, syncing
*gateway.Gateway: OK
*p2p.Service: OK
*execution.Service: OK
*attestations.Service: OK
*blockchain.Service: ERROR, genesis state has not been created
*sync.Service: OK
*prometheus.Service: OK

docker logs agora-cl-node:
time="2022-12-04 16:58:26" level=info msg="Currently waiting for chainstart" Additional validators needed=1022 Generating genesis state in=711h59m47s prefix=powchain

docker logs agora-cl-validator:
time="2022-12-04 16:04:10" level=info msg="Syncing with beacon node to align on chain genesis info" prefix=validator

curl http://localhost:3500/eth/v1/node/syncing | jq :
{
"data": {
"head_slot": "0",
"sync_distance": "0",
"is_syncing": true,
"is_optimistic": false
}
}

How do i know genesis syncing is ok on mainnet?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.