Skip to content

Commit

Permalink
[ADP-3478] Remove get_latest_node_db_url (#4832)
Browse files Browse the repository at this point in the history
This pull request removes the helper function `get_latest_node_db_url`
from the Ruby E2E tests.

### Issue Number

ADP-3478
  • Loading branch information
HeinrichApfelmus authored Nov 5, 2024
2 parents 1450ed5 + 24cda84 commit 960a098
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/e2e/helpers/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,19 +152,6 @@ def get_latest_configs_base_url(env)
"https://book.world.dev.cardano.org/environments/#{env}/"
end

##
# Latest node-db snapshot updated at the end of every epoch
def get_latest_node_db_url(env)
raise "Unsupported env, supported are: 'mainnet' or 'testnet'" if (env != 'testnet') && (env != 'mainnet')

case env
when 'testnet'
'https://updates-cardano-testnet.s3.amazonaws.com/cardano-node-state/db-testnet.tar.gz'
when 'mainnet'
'https://update-cardano-mainnet.iohk.io/cardano-node-state/db-mainnet.tar.gz'
end
end

##
# Get protocol magic from byron-genesis.json corresponding to particular env
def get_protocol_magic(env)
Expand Down

0 comments on commit 960a098

Please sign in to comment.