Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: Add arbitrum-one-mainnet network #2254

Merged
merged 3 commits into from
Feb 11, 2022

Conversation

leszko
Copy link
Contributor

@leszko leszko commented Feb 11, 2022

What does this pull request do? Explain your changes. (required)

Add arbitrum-one-mainnet network

Specific updates (required)

How did you test each of these updates (required)

  1. Comment out the code responsible for "LIP-73 has not been activated yet"
  2. Start Livepeer
$ ./livepeer -network arbitrum-one-mainnet -ethUrl https://arb1.arbitrum.io/rpc -broadcaster
I0211 15:10:05.896260   45769 livepeer.go:271] ***Livepeer is running on the arbitrum-one-mainnet network: 0xD8E8328501E9645d16Cf49539efC04f734606ee4***
I0211 15:10:06.853191   45769 accountmanager.go:72] Using Ethereum account: 0xEB08623a50499c93D04faD0BdbC26ED09Ab48bEC
I0211 15:10:07.347866   45769 accountmanager.go:95] Please enter the passphrase to unlock Ethereum account 0xEB08623a50499c93D04faD0BdbC26ED09Ab48bEC
Passphrase: 
I0211 15:10:12.805892   45769 accountmanager.go:106] Unlocked ETH account: 0xEB08623a50499c93D04faD0BdbC26ED09Ab48bEC
I0211 15:10:15.136880   45769 livepeer.go:706] Broadcaster Deposit: 0 WEI
I0211 15:10:15.136986   45769 livepeer.go:707] Broadcaster Reserve: 0 WEI
I0211 15:10:15.137039   45769 livepeer.go:718] Maximum transcoding price per pixel is not greater than 0: 0, broadcaster is currently set to accept ANY price.
I0211 15:10:15.137088   45769 livepeer.go:719] To update the broadcaster's maximum acceptable transcoding price per pixel, use the CLI or restart the broadcaster with the appropriate 'maxPricePerUnit' and 'pixelsPerUnit' values
I0211 15:10:16.492922   45769 livepeer.go:936] Local verification enabled
I0211 15:10:16.493245   45769 livepeer.go:1058] ***Livepeer Running in Broadcaster Mode***
I0211 15:10:16.493367   45769 livepeer.go:1059] Video Ingest Endpoint - rtmp://127.0.0.1:1935
I0211 15:10:16.494287   45769 webserver.go:72] CLI server listening on 127.0.0.1:7935
  1. Connect with Livepeer CLI and check the node stats.
+-----------+
|NODE STATS|
+-----------+
*------------------------------------*--------------------------------------------*
|                     Node's version |                      0.5.27-0457820b-dirty |
*------------------------------------*--------------------------------------------*
|          Node's GO runtime version |                                   go1.17.3 |
*------------------------------------*--------------------------------------------*
|                Node's architecture |                                      arm64 |
*------------------------------------*--------------------------------------------*
|            Node's operating system |                                     darwin |
*------------------------------------*--------------------------------------------*
|                          HTTP Port |                                       7935 |
*------------------------------------*--------------------------------------------*
|                 Controller Address | 0xD8E8328501E9645d16Cf49539efC04f734606ee4 |
| FOR REFERENCE - DO NOT SEND TOKENS |                                            |
*------------------------------------*--------------------------------------------*
|              LivepeerToken Address | 0x289ba1701C2F088cf0faf8B3705246331cB8A839 |
| FOR REFERENCE - DO NOT SEND TOKENS |                                            |
*------------------------------------*--------------------------------------------*
|        LivepeerTokenFaucet Address | 0x0000000000000000000000000000000000000000 |
| FOR REFERENCE - DO NOT SEND TOKENS |                                            |
*------------------------------------*--------------------------------------------*
|                Broadcaster Account | 0xEB08623a50499c93D04faD0BdbC26ED09Ab48bEC |
|          YOUR WALLET FOR ETH & LPT |                                            |
*------------------------------------*--------------------------------------------*
|                        LPT Balance |                                     0 LPTU |
*------------------------------------*--------------------------------------------*
|                        ETH Balance |                                      0 WEI |
*------------------------------------*--------------------------------------------*
|                      Max Gas Price |                                        n/a |
*------------------------------------*--------------------------------------------*
|                      Min Gas Price |                                     0 GWei |
*------------------------------------*--------------------------------------------*
+-----------------+
|BROADCASTER STATS|
+-----------------+
*-------------------------------*-------------------------------*
|           Max Price Per Pixel |                           n/a |
*-------------------------------*-------------------------------*
| Broadcast Transcoding Options | P240p30fps16x9,P360p30fps16x9 |
*-------------------------------*-------------------------------*
|                       Deposit |                         0 WEI |
*-------------------------------*-------------------------------*
|                       Reserve |                         0 WEI |
*-------------------------------*-------------------------------*
+---------------+
|DELEGATOR STATS|
+---------------+
*------------------*--------------------------------------------*
|           Status |                                   Unbonded |
*------------------*--------------------------------------------*
|            Stake |                                     0 LPTU |
*------------------*--------------------------------------------*
|   Collected Fees |                                      0 WEI |
*------------------*--------------------------------------------*
|    Pending Stake |                                     0 LPTU |
*------------------*--------------------------------------------*
|     Pending Fees |                                      0 WEI |
*------------------*--------------------------------------------*
|  Delegated Stake |                                     0 LPTU |
*------------------*--------------------------------------------*
| Delegate Address | 0x0000000000000000000000000000000000000000 |
*------------------*--------------------------------------------*
| Last Claim Round |                                          0 |
*------------------*--------------------------------------------*
|      Start Round |                                          0 |
*------------------*--------------------------------------------*
CURRENT ROUND: 2462


Does this pull request close any open issues?

fix #2242

Checklist:

@leszko leszko requested a review from yondonfu February 11, 2022 08:55
@leszko leszko marked this pull request as ready for review February 11, 2022 14:12
Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after changelog entry fix

CHANGELOG_PENDING.md Outdated Show resolved Hide resolved
@leszko leszko merged commit 585e060 into livepeer:master Feb 11, 2022
@leszko leszko deleted the 2242-support-arbitrum-one branch February 11, 2022 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support -network=arbitrum-one
2 participants