diff --git a/.github/workflows/build_nigthly.yml b/.github/workflows/build_nigthly.yml deleted file mode 100644 index 3137cb71..00000000 --- a/.github/workflows/build_nigthly.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Build nightly - -on: - workflow_dispatch: - inputs: - build_profile: - description: 'Build profile' - required: true - default: 'release-fast' - -permissions: - contents: write - -jobs: - tag-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Get version from Cargo.toml - id: get_version - run: | - VERSION=$(grep '^version =' Cargo.toml | cut -d '"' -f2) - echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - - - name: Create and push tag - run: | - echo "Created tag: v${{ steps.get_version.outputs.VERSION }}" - git config user.name github-actions - git config user.email github-actions@github.com - git tag -a v${{ steps.get_version.outputs.VERSION }}-nightly -m "Nightly release ${{ steps.get_version.outputs.VERSION }}" - git push origin v${{ steps.get_version.outputs.VERSION }}-nightly diff --git a/src/options.rs b/src/options.rs index 4bf8d52e..55052eaf 100644 --- a/src/options.rs +++ b/src/options.rs @@ -118,61 +118,6 @@ pub struct MintTestTokensOptions { pub mint_loop_address: Option
, } -#[derive(StructOpt)] -#[structopt(about = "Deposit token options")] -pub struct DepositTokensOptions { - #[structopt(short = "c", long = "chain-name", default_value = "holesky")] - pub chain_name: String, - - #[structopt(long = "address", help = "Address (has to have private key)")] - pub address: Option
, - - #[structopt(long = "account-no", help = "Address by index (for convenience)")] - pub account_no: Option, - - #[structopt( - short = "a", - long = "amount", - help = "Amount (decimal, full precision, i.e. 0.01)" - )] - pub amount: Option, - - #[structopt(long = "all", help = "Deposit all available tokens")] - pub deposit_all: bool, - - #[structopt(long = "skip-allowance", help = "Skip allowance check")] - pub skip_allowance: bool, - - #[structopt(long = "skip-balance", help = "Skip balance check")] - pub skip_balance_check: bool, -} - -#[derive(StructOpt)] -#[structopt(about = "Withdraw token options")] -pub struct WithdrawTokensOptions { - #[structopt(short = "c", long = "chain-name", default_value = "holesky")] - pub chain_name: String, - - #[structopt(long = "address", help = "Address (has to have private key)")] - pub address: Option
, - - #[structopt(long = "account-no", help = "Address by index (for convenience)")] - pub account_no: Option, - - #[structopt( - short = "a", - long = "amount", - help = "Amount (decimal, full precision, i.e. 0.01)" - )] - pub amount: Option, - - #[structopt(long = "all", help = "Withdraw all available tokens")] - pub withdraw_all: bool, - - #[structopt(long = "skip-balance", help = "Skip balance check")] - pub skip_balance_check: bool, -} - #[derive(StructOpt)] #[structopt(about = "Distribute token (gas) options")] pub struct DistributeOptions {