Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/helpers/scripts/aggkit_bridge_service.bash
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function wait_for_expected_token() {
echo "Attempt $attempt: found origin_token_address = $origin_token_address (Expected: $expected_origin_token), network id=$network_id" >&3

# Break loop if the expected token is found (case-insensitive)
if [[ "${origin_token_address,,}" == "${expected_origin_token,,}" ]]; then
if [[ "$(echo "$origin_token_address" | tr '[:upper:]' '[:lower:]')" == "$(echo "$expected_origin_token" | tr '[:upper:]' '[:lower:]')" ]]; then
echo "Success: Expected origin_token_address '$expected_origin_token' found. Exiting loop." >&3
echo "$token_mappings_result"
return 0
Expand Down
4 changes: 2 additions & 2 deletions core/helpers/scripts/kurtosis-helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ function kurtosis_download_file_exec_method() {
}

function kurtosis_filer_exec_method() {
local _kurtosis_version=$(kurtosis version | cut -d ':' -f 2 | head -n 1)
local _kurtosis_version=$(kurtosis version | cut -d ':' -f 2 | head -n 1 | xargs)
# versions previous 1.7.0 first line in stdout is
# "The command was successfully executed and returned '0'."
# After this version this line is output in stderr
# So if kurtosis version is <1.7.0 need tail -n +2, if not just same output
dpkg --compare-versions "$_kurtosis_version" "ge" "1.7.0" && cat || tail -n +2
printf "1.7.0\n$_kurtosis_version" | sort -V -C && cat || tail -n +2
}