Skip to content

Conversation

@karlb
Copy link

@karlb karlb commented Apr 11, 2025

These can certainly be improved (e.g. all using bash instead of one fish script), but I wanted to keep them as close as possible to the commands actually executed to avoid introducing subtle differences. I wouldn't notice those since I probably won't run these commands again within the next days.

See https://github.com/celo-org/celo-blockchain-planning/issues/982

@karlb karlb force-pushed the karlb/token-scripts branch from c555425 to 7c8a2bc Compare April 11, 2025 12:49
@karlb karlb force-pushed the karlb/token-scripts branch from 7c8a2bc to 92a2aea Compare April 11, 2025 13:05
Copy link

@palango palango left a comment

Choose a reason for hiding this comment

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

Nice work! That makes it so much easier to add tokens.

@karlb karlb merged commit d4f80e3 into celo-rebase-12 Apr 11, 2025
32 checks passed
@karlb karlb deleted the karlb/token-scripts branch April 11, 2025 13:32
piersy pushed a commit that referenced this pull request May 7, 2025
* contracts: scripts for L2 token deployment/verification

See celo-org/celo-blockchain-planning#982

* contracts: Automatically read decimals for L2 tokens
piersy pushed a commit that referenced this pull request May 8, 2025
* contracts: scripts for L2 token deployment/verification

See celo-org/celo-blockchain-planning#982

* contracts: Automatically read decimals for L2 tokens
piersy pushed a commit that referenced this pull request May 8, 2025
* contracts: scripts for L2 token deployment/verification

See celo-org/celo-blockchain-planning#982

* contracts: Automatically read decimals for L2 tokens
piersy pushed a commit that referenced this pull request May 8, 2025
* contracts: scripts for L2 token deployment/verification

See celo-org/celo-blockchain-planning#982

* contracts: Automatically read decimals for L2 tokens
piersy pushed a commit that referenced this pull request May 20, 2025
* contracts: scripts for L2 token deployment/verification

See celo-org/celo-blockchain-planning#982

* contracts: Automatically read decimals for L2 tokens
piersy pushed a commit that referenced this pull request May 22, 2025
* contracts: scripts for L2 token deployment/verification

See celo-org/celo-blockchain-planning#982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 23, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 25, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 26, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 26, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 27, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 27, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 28, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 28, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Jul 28, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Aug 4, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Aug 4, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Aug 6, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens
Kourin1996 pushed a commit that referenced this pull request Aug 7, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
Kourin1996 pushed a commit that referenced this pull request Aug 8, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
Kourin1996 pushed a commit that referenced this pull request Aug 11, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
gastonponti pushed a commit that referenced this pull request Sep 22, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
gastonponti pushed a commit that referenced this pull request Sep 22, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
gastonponti pushed a commit that referenced this pull request Sep 23, 2025
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
gastonponti pushed a commit that referenced this pull request Jan 8, 2026
* contracts: scripts for L2 token deployment/verification

See https://github.com/celo-org/celo-blockchain-planning/issues/982

* contracts: Automatically read decimals for L2 tokens

contracts: Convert `gen_l2_token_cmds` to std sh (#392)

Changed shebang from #!/usr/bin/env fish to #!/bin/sh
Replaced $argv with "$@" for command line arguments
Replaced [ -z "$argv" ] with [ -z "$1" ] to check for arguments
Replaced status filename with basename "$0" to get script name
Changed return to exit 1 for script termination
Used standard variable assignment and export syntax
Used "$@" in the for loop to properly handle arguments with spaces
Used $(...) for command substitution (POSIX compliant)
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.

3 participants