-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Rosetta API implementation #7695
Merged
Merged
Changes from all commits
Commits
Show all changes
289 commits
Select commit
Hold shift + click to select a range
529f6b8
update combine
sahith-narahari c431f61
add signature
jgimeno c63707e
use legacy amino
sahith-narahari 94599c8
Fix linter.
jgimeno e276610
remove unused func
jgimeno 0b80fc8
Fix lints.
jgimeno 8c8a61a
Remove docker file.
jgimeno 88b5e24
clean code
jgimeno eaebebd
Merge branch 'master' into add-rosetta-master
sahith-narahari 9e46fb3
Merge pull request #7854 from cosmos/sahith/impl-cons
jgimeno 09c1f98
add: rosetta CI
fdymylja b255eb4
change: remove git diff check
fdymylja d4fe16d
fix: rosetta bin name
fdymylja eabbe61
fix: rosetta bin name 2
fdymylja de8b62f
chore: detect containers
fdymylja e3c416a
change: run rosetta via docker run
fdymylja 044f313
fix: flags
fdymylja 6c44455
fix: rosetta cmd
fdymylja eab32fd
change: use exec on simnode0
fdymylja 2f6e537
fix: rosetta run command
fdymylja ea60e01
rollback: docker-compose
fdymylja 8cafd9b
change: run rosetta in a separate container
fdymylja d72f950
fix: run rosetta instance in daemon mode
fdymylja 2f168c5
fix: get containers names and network
fdymylja 1679cb1
fix: try use container ipv4 endpoint for rosetta instance
fdymylja 1642bb4
fix: configuration file path
fdymylja 69e03c8
fix: set data end conditions
fdymylja fa492b1
fix: remove cat command
fdymylja dc30861
fix: rosetta config file
fdymylja 5e63fe5
add: construction API data
fdymylja d5b19a6
fix: construction json
fdymylja e3ebe99
fix: context paths of rosetta config extensions
fdymylja e8642f8
fix: determinstic acc address and currency
fdymylja 29c325b
Update single network.
jgimeno 00c94af
Clean interfaces.
jgimeno 85c7bc7
add rosetta config
jgimeno 894e257
add basic info
jgimeno 9aaab9f
change: use custom node
fdymylja 9e52d4a
fix: remove interactive
fdymylja e96776a
fix: try add sleep
fdymylja faa2e6e
change: run full test suite inside docker
fdymylja 9a9d959
fix: permissions
fdymylja 4fd1b75
fix: try permissions
fdymylja 639e12d
Add fee to payloads
sahith-narahari ef45955
fix docker-compose file
de47299
add option to enable rosetta in process
jgimeno ef09df8
change: use zipped data dir
fdymylja f395605
add offline mode check
jgimeno cba447a
offline mode uses the config first.
jgimeno c440039
change struct so it uses less memory.
jgimeno c9bb2cf
Merge pull request #7958 from cosmos/add-rosetta-into-server-command
jgimeno 6c19e48
add: construction API ci
fdymylja d2e774c
add: README.md
fdymylja 9136166
change: speedup rosetta
fdymylja 7fdfac9
update block response
sahith-narahari 26fefc0
remove: unused files
fdymylja 6dff38d
remove some line
jgimeno b2c6666
code cleanup
sahith-narahari f0ada97
fix lint
sahith-narahari b2935a4
clean some lines
jgimeno bfbb801
remove todos
sahith-narahari 8d77c6b
Merge branch 'fdymylja/rosetta-ci' of github.com:cosmos/cosmos-sdk in…
sahith-narahari c7e71d1
update index
sahith-narahari 8e9d081
update config
sahith-narahari 219cb32
chore: py linting
fdymylja 7338743
Merge pull request #7947 from cosmos/fdymylja/rosetta-ci
jgimeno 7b651db
Merge branch 'add-rosetta-master' into sahith/add-fee-support
jgimeno ba8623b
Remove unused param.
jgimeno 0d628f9
clean code
jgimeno 0bb3815
unify file
jgimeno 490f1a4
export function
jgimeno e4032e7
Remove some params.
jgimeno 1b3ce34
update func
jgimeno b3c8ef0
Merge branch 'master' of github.com:cosmos/cosmos-sdk into add-rosett…
sahith-narahari 261ce37
Merge branch 'add-rosetta-master' of github.com:cosmos/cosmos-sdk int…
sahith-narahari c8215ae
fix go mod conflicts
sahith-narahari 6b2402a
Merge pull request #7973 from cosmos/sahith/add-fee-support
jgimeno beb8e77
use last version
jgimeno 1b3bb4b
change: bump data dir to new tm version
fdymylja 31d1483
change: remove volumes
fdymylja 669ebb5
Merge pull request #8010 from cosmos/fdymylja/rosetta-ci-bump-tm
jgimeno ba0803b
Merge branch 'add-rosetta-master' into use-last-crg-version
jgimeno 0d78166
Add v0.2.0 version.
jgimeno f316d5f
Update contrib/rosetta/README.md
jgimeno dcd44fd
address suggestions
sahith-narahari 5785856
Merge remote-tracking branch 'origin/add-rosetta-master' into add-ros…
sahith-narahari 2f165a4
Merge branch 'master' into add-rosetta-master
sahith-narahari 069376c
update imports
sahith-narahari e308995
Merge remote-tracking branch 'origin/add-rosetta-master' into add-ros…
sahith-narahari 9d3b9c5
make format
5746af6
add tx status
sahith-narahari 32e1a4d
change: rename single network to online network
fdymylja be0a0e5
chore: omit hash
fdymylja 08c2d63
fix: add other errors to allowed errors list
fdymylja 2b31031
chore: make naming in rosetta conversion consistent
fdymylja 101960e
add tx status
sahith-narahari 6797cba
chore: lint
fdymylja a867fc9
Merge pull request #8008 from cosmos/use-last-crg-version
jgimeno 237fbe3
Merge pull request #8017 from cosmos/sahith/add-tx-status
jgimeno ef15578
change: merge add-rosetta-master
fdymylja 287bf09
Merge branch 'add-rosetta-master' into fdymylja/cleanup-rosetta-stargate
fdymylja 4d53cb1
chore: fix doc on mempool tx
fdymylja 2017b59
Merge pull request #8018 from cosmos/fdymylja/cleanup-rosetta-stargate
jgimeno 417a4c3
Merge branch 'master' of github.com:cosmos/cosmos-sdk into add-rosett…
sahith-narahari 67ffc3b
Merge branch 'add-rosetta-master' of github.com:cosmos/cosmos-sdk int…
sahith-narahari b603a46
Merge branch 'master' into add-rosetta-master
jgimeno a05c3d1
Merge branch 'master' into add-rosetta-master
ff40da7
Merge branch 'master' of github.com:cosmos/cosmos-sdk into sahith/add…
sahith-narahari 49120f5
Merge branch 'add-rosetta-master' of github.com:cosmos/cosmos-sdk int…
sahith-narahari b729108
Add staking support
sahith-narahari 5f256f3
Merge branch 'master' into add-rosetta-master
78228e6
fix lint
sahith-narahari c62a947
Merge branch 'add-rosetta-master' of github.com:cosmos/cosmos-sdk int…
sahith-narahari 8ef88d7
code cleanup
sahith-narahari 97a01d9
update rosetta config
sahith-narahari af75c21
Merge branch 'master' into add-rosetta-master
jgimeno adb9be2
Update contrib/rosetta/configuration/data.sh
0a7071b
add: staking CI workflow
fdymylja 3236b57
Rename files.
jgimeno 12607e0
Try split images.
jgimeno de47bb1
update docker image for rosetta cli
jgimeno 4bd738d
Merge pull request #8063 from cosmos/test-split-images
jgimeno 01fecf4
Merge pull request #8044 from cosmos/sahith/add-staking
jgimeno c56aa8c
Merge branch 'master' into add-rosetta-master
84ddd5c
Merge branch 'master' into add-rosetta-master
e3d406f
Merge branch 'master' into add-rosetta-master
jgimeno 58e8145
Merge branch 'master' into add-rosetta-master
f505e8c
Merge branch 'master' into add-rosetta-master
jgimeno 264a119
fix error with imports duplicated
jgimeno 2da7b67
add temp commit
jgimeno 3f0713e
refactor to use sdk txs with hash to rosetta
jgimeno f3ab613
add msg to operations
jgimeno 052ba73
save rosetta
jgimeno bcef594
Update tests.
jgimeno 0c0e5e9
reduce api
jgimeno aeff276
comment and reduce some constant values
jgimeno efdbc5d
half refactor
jgimeno 8ffd43f
temp commit
jgimeno 6c3850f
fix
jgimeno d320aab
refactor function to get block with transactions by hash.
jgimeno 11c8ef1
use methods to get transactions by hash
jgimeno 1ab327e
remove old methods
jgimeno 3c3cce5
change type of client
jgimeno 73bd8f7
refactor mempools
jgimeno 3d1a0ac
refactor construction
jgimeno 6c1630a
refactor construction parse
jgimeno 8c93857
refactor message
jgimeno ffba291
update construction
jgimeno 277dc36
remove unused func
jgimeno 09c40e5
add interface registry
jgimeno 1144173
Add config to private method.
jgimeno b46b422
update files
jgimeno 03f7aed
Use the proto name for staking too.
jgimeno 4f9336d
refactor
jgimeno f6407ef
remove unused types
jgimeno 5bd4ca1
some refactor
jgimeno 7132919
other refactor to insert logic into the client
jgimeno af028d7
little step refactor
jgimeno 116abce
move logic to msg
jgimeno bb6fbc4
remove unused funcs
jgimeno 51772e5
remove signer addr
jgimeno 2e5611d
some more refactor, closer
jgimeno 97988d2
looks like we have it
jgimeno b0e6851
fix linter
jgimeno 31848e6
remove Supported operations
jgimeno 81fee4c
remove some things
jgimeno a70a905
Merge pull request #8114 from cosmos/refactor-include-operations
jgimeno f7fe0b6
Merge branch 'master' into add-rosetta-master
jgimeno 781cb9c
add checks into client
jgimeno 2334916
Merge branch 'master' into add-rosetta-master
a06b314
Merge branch 'master' into add-rosetta-master
jgimeno b748705
change: finalize refactor
fdymylja e244c6b
Rename handler to server.
jgimeno e9c9246
fix client
jgimeno 8ce8b85
update go mod.
jgimeno 398086b
change: update crg version, construction error returns
fdymylja 65b0c16
chore: lint
fdymylja c5eee83
update staking ros
sahith-narahari 374c6d6
fix ros
sahith-narahari a145583
Merge pull request #8212 from cosmos/fdymylja/refactor-rosetta-stargate
jgimeno 21fb45b
Merge branch 'master' into add-rosetta-master
jgimeno ffa3950
Add sta
jgimeno d9aec37
Revert "Add sta"
jgimeno 568f108
fix smoe weird problem
jgimeno a3eb478
fix smoe weird problem
jgimeno 7b0e917
Update rosetta cli.
jgimeno 2e3a652
Merge pull request #8253 from cosmos/jonathan/update-rosetta-cli
jgimeno 2a6e0c2
Merge branch 'add-rosetta-master' of https://github.com/cosmos/cosmos…
fdymylja 0272926
add: extend ros msg withdraw reward
fdymylja a29ac15
update validator addr
sahith-narahari 89e34ac
Merge branch 'sahith/address-review' of github.com:cosmos/cosmos-sdk …
sahith-narahari a8dd59b
update ros file
sahith-narahari 8dceebe
add amount
jgimeno 6fb2456
add undelegate
sahith-narahari 1d1c18f
update msg typw
sahith-narahari 1698406
address comments
sahith-narahari 05f8f1f
fix: use constants
fdymylja 1645554
change: post tx in sync mode
fdymylja 5947f2b
chore: clarify error message
fdymylja ba96466
chore: simplify and document operations to sdk msgs
fdymylja 570b2dd
remove: construction payload operation check
fdymylja bca58fb
fix: operations minimum requirement checks
fdymylja c4e54e7
fix get tx
sahith-narahari 73e2ab5
update tx.Tx
sahith-narahari 822b68d
update test
sahith-narahari a79617e
update imports
sahith-narahari 16e4400
Merge pull request #8247 from cosmos/sahith/address-review
jgimeno 052d0fc
chore: fixes
fdymylja 54b2cf7
add support for redelegate
sahith-narahari 7189ef8
update constants
sahith-narahari a978fc4
goimports
sahith-narahari cffee3a
change: revisit adr with the latest changes
fdymylja 81d308d
add: rosetta docs
fdymylja d14ddbc
Merge pull request #8288 from cosmos/sahith/add-redelegate
jgimeno 0b8af06
Merge branch 'master' into add-rosetta-master
jgimeno 7382363
document toml
jgimeno 5416384
address little change by PR
jgimeno b399a94
Merge branch 'master' into add-rosetta-master
7749bfc
get the error
jgimeno 1fa52aa
some minor chages
jgimeno 56d11e7
add: undelegate tests with rosetta-cli
fdymylja d375113
add note for sign mode
sahith-narahari a50b92e
add version to client
jgimeno 3b46221
Merge branch 'master' into add-rosetta-master
e5abbb6
Merge branch 'master' into add-rosetta-master
fbc5d37
now mempool shows tx
jgimeno 0e8fd76
update version
jgimeno 2282fdf
add default version
jgimeno f7c7152
Merge pull request #8331 from cosmos/jonathan/add-mempool-tx-endpoint
jgimeno c0e2905
change: disallow multiple msgs tx building
fdymylja 46b4a26
Merge pull request #8305 from cosmos/fdymylja/rosetta-docs
jgimeno 85c1a0a
Merge pull request #8335 from cosmos/fdymylja/rosetta-staking-tests
jgimeno 3cc13a1
Move rosetta docs.
jgimeno 7533b88
Merge pull request #8344 from cosmos/jonathan/docs-rosetta
jgimeno 031abb3
resolve conflicts
5cdaaff
update gogo/protobuf
67f75c4
remove unnecessary dependency
07a1047
update cosmos-proto
03fb6a6
resolve conflicts
d920958
solve conflicts
41fa458
Merge branch 'master' into add-rosetta-master
66f4233
regenerate go.sum
7c630ba
Merge branch 'master' of github.com:cosmos/cosmos-sdk into add-rosett…
sahith-narahari c03c86f
run go mod tidy
sahith-narahari 350e079
Merge pull request #8293 from cosmos/fdymylja/rosetta-update-adr
jgimeno d4e948f
Merge pull request #8336 from cosmos/fdymylja/rosetta-payload-preproc…
jgimeno bc0fd7b
Merge branch 'master' into add-rosetta-master
jgimeno 504f212
Merge branch 'master' into add-rosetta-master
fedekunze 785bacd
fix: ci bind address conflict
fdymylja 8178c5d
Merge branch 'master' into add-rosetta-master
sahith-narahari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# rosetta | ||
|
||
This directory contains the files required to run the rosetta CI. It builds `simapp` based on the current codebase. | ||
|
||
## docker-compose.yaml | ||
|
||
Builds: | ||
- cosmos-sdk simapp node, with prefixed data directory, keys etc. This is required to test historical balances. | ||
- faucet is required so we can test construction API, it was literally impossible to put there a deterministic address to request funds for | ||
- rosetta is the rosetta node used by rosetta-cli to interact with the cosmos-sdk app | ||
- test_rosetta runs the rosetta-cli test against construction API and data API | ||
|
||
## configuration | ||
|
||
Contains the required files to set up rosetta cli and make it work against its workflows | ||
|
||
## node | ||
|
||
Contains the files for a deterministic network, with fixed keys and some actions on there, to test parsing of msgs and historical balances. | ||
|
||
## Notes | ||
|
||
- Keyring password is 12345678 | ||
- data.sh creates node data, it's required in case consensus breaking changes are made to quickly recreate replicable node data for rosetta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"account_identifier": { | ||
"address":"cosmos1hdmjfmqmf8ck4pv4evu0s3up0ucm0yjjqfl87e" | ||
}, | ||
"currency":{ | ||
"symbol":"stake", | ||
"decimals":0 | ||
}, | ||
"value": "999900000000" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
wait_simd() { | ||
timeout 30 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9090 | ||
} | ||
# this script is used to recreate the data dir | ||
echo clearing /root/.simapp | ||
rm -rf /root/.simapp | ||
echo initting new chain | ||
# init config files | ||
simd init simd --chain-id testing | ||
|
||
# create accounts | ||
simd keys add fd --keyring-backend=test | ||
|
||
addr=$(simd keys show fd -a --keyring-backend=test) | ||
|
||
# give the accounts some money | ||
simd add-genesis-account "$addr" 1000000000000stake --keyring-backend=test | ||
|
||
# save configs for the daemon | ||
simd gentx fd --chain-id testing --keyring-backend=test | ||
|
||
# input genTx to the genesis file | ||
simd collect-gentxs | ||
# verify genesis file is fine | ||
simd validate-genesis | ||
echo changing network settings | ||
sed -i 's/127.0.0.1/0.0.0.0/g' /root/.simapp/config/config.toml | ||
|
||
# start simd | ||
echo starting simd... | ||
simd start --pruning=nothing & | ||
pid=$! | ||
echo simd started with PID $pid | ||
|
||
echo awaiting for simd to be ready | ||
wait_simd | ||
echo simd is ready | ||
sleep 10 | ||
|
||
|
||
# send transaction to deterministic address | ||
echo sending transaction with addr $addr | ||
simd tx bank send "$addr" cosmos1wjmt63j4fv9nqda92nsrp2jp2vsukcke4va3pt 100stake --yes --keyring-backend=test --broadcast-mode=block --chain-id=testing | ||
|
||
sleep 10 | ||
|
||
echo stopping simd... | ||
kill -9 $pid | ||
|
||
echo zipping data dir and saving to /tmp/data.tar.gz | ||
|
||
tar -czvf /tmp/data.tar.gz /root/.simapp | ||
|
||
echo new address for bootstrap.json "$addr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from http.server import HTTPServer, BaseHTTPRequestHandler | ||
import subprocess | ||
|
||
import os | ||
|
||
|
||
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): | ||
|
||
def do_POST(self): | ||
try: | ||
content_len = int(self.headers.get('Content-Length')) | ||
addr = self.rfile.read(content_len).decode("utf-8") | ||
print("sending funds to " + addr) | ||
subprocess.call(['sh', './send_funds.sh', addr]) | ||
self.send_response(200) | ||
self.end_headers() | ||
except Exception as e: | ||
print("failed " + str(e)) | ||
os._exit(1) | ||
|
||
|
||
if __name__ == "__main__": | ||
print("starting faucet server...") | ||
httpd = HTTPServer(('0.0.0.0', 8000), SimpleHTTPRequestHandler) | ||
httpd.serve_forever() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"network": { | ||
"blockchain": "app", | ||
"network": "network" | ||
}, | ||
"online_url": "http://rosetta:8080", | ||
"data_directory": "", | ||
"http_timeout": 300, | ||
"max_retries": 5, | ||
"retry_elapsed_time": 0, | ||
"max_online_connections": 0, | ||
"max_sync_concurrency": 0, | ||
"tip_delay": 60, | ||
"log_configuration": true, | ||
"construction": { | ||
"offline_url": "http://rosetta:8080", | ||
"max_offline_connections": 0, | ||
"stale_depth": 0, | ||
"broadcast_limit": 0, | ||
"ignore_broadcast_failures": false, | ||
"clear_broadcasts": false, | ||
"broadcast_behind_tip": false, | ||
"block_broadcast_limit": 0, | ||
"rebroadcast_all": false, | ||
"constructor_dsl_file": "transfer.ros", | ||
"end_conditions": { | ||
"create_account": 1, | ||
"transfer": 3 | ||
} | ||
}, | ||
"data": { | ||
"active_reconciliation_concurrency": 0, | ||
"inactive_reconciliation_concurrency": 0, | ||
"inactive_reconciliation_frequency": 0, | ||
"log_blocks": false, | ||
"log_transactions": false, | ||
"log_balance_changes": false, | ||
"log_reconciliations": false, | ||
"ignore_reconciliation_error": false, | ||
"exempt_accounts": "", | ||
"bootstrap_balances": "bootstrap.json", | ||
"interesting_accounts": "", | ||
"reconciliation_disabled": false, | ||
"inactive_discrepency_search_disabled": false, | ||
"balance_tracking_disabled": false, | ||
"coin_tracking_disabled": false, | ||
"end_conditions": { | ||
"tip": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
addr="abcd" | ||
|
||
send_tx() { | ||
echo '12345678' | simd tx bank send $addr "$1" "$2" | ||
} | ||
|
||
detect_account() { | ||
line=$1 | ||
} | ||
|
||
wait_for_rosetta() { | ||
timeout 30 sh -c 'until nc -z $0 $1; do sleep 1; done' rosetta 8080 | ||
} | ||
|
||
echo "waiting for rosetta instance to be up" | ||
wait_for_rosetta | ||
|
||
echo "checking data API" | ||
rosetta-cli check:data --configuration-file ./config/rosetta.json | ||
|
||
echo "checking construction API" | ||
rosetta-cli check:construction --configuration-file ./config/rosetta.json | ||
|
||
echo "checking staking API" | ||
rosetta-cli check:construction --configuration-file ./config/staking.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
addr=$(simd keys show fd -a --keyring-backend=test) | ||
echo "12345678" | simd tx bank send "$addr" "$1" 100stake --chain-id="testing" --node tcp://cosmos:26657 --yes --keyring-backend=test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"network": { | ||
"blockchain": "app", | ||
"network": "network" | ||
}, | ||
"online_url": "http://rosetta:8080", | ||
"data_directory": "", | ||
"http_timeout": 300, | ||
"max_retries": 5, | ||
"retry_elapsed_time": 0, | ||
"max_online_connections": 0, | ||
"max_sync_concurrency": 0, | ||
"tip_delay": 60, | ||
"log_configuration": true, | ||
"construction": { | ||
"offline_url": "http://rosetta:8080", | ||
"max_offline_connections": 0, | ||
"stale_depth": 0, | ||
"broadcast_limit": 0, | ||
"ignore_broadcast_failures": false, | ||
"clear_broadcasts": false, | ||
"broadcast_behind_tip": false, | ||
"block_broadcast_limit": 0, | ||
"rebroadcast_all": false, | ||
"constructor_dsl_file": "staking.ros", | ||
"end_conditions": { | ||
"staking": 3 | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a typo here. Also, is this line still needed (we have it in 478 as well)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the
-
supresses errors. required because in case the container name is taken we reclaim it.