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

Fix e2e "currency" test #4578

Merged
merged 2 commits into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/e2e/spec/e2e_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ def script_hash
# Perform coin selection to select input to be used in minting contract
address = SHELLEY.addresses.list(@wid)[0]['id']
payload_cs = [{ address: address,
amount: { quantity: 1_000_000_000, unit: 'lovelace' } }]
amount: { quantity: 10_000_000, unit: 'lovelace' } }]
coin_selection = SHELLEY.coin_selections.random(@wid, payload_cs)
print coin_selection if coin_selection['inputs'].nil?
input = coin_selection['inputs'].select { |i| i['assets'] == [] }.first
tx_id = input['id']
tx_idx = input['index'].to_i
Expand Down