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

Introduce zero address check to IsValidAddress #56

Merged
merged 8 commits into from
Dec 15, 2023

Conversation

dusannosovic-ethernal
Copy link

Description

This PR include additional check for zeroAddress in types.IsValidAddress

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

@dusannosovic-ethernal dusannosovic-ethernal self-assigned this Dec 14, 2023
goran-ethernal
goran-ethernal previously approved these changes Dec 14, 2023
types/types.go Outdated Show resolved Hide resolved
types/types.go Outdated Show resolved Hide resolved
Co-authored-by: Stefan Negovanović <93934272+Stefan-Ethernal@users.noreply.github.com>
@Stefan-Ethernal Stefan-Ethernal changed the title Is-valid-address-zero-address-check Introduce zero address check to IsValidAddress Dec 15, 2023
stakedAmount string
premineAmount string

nonStakedValue *big.Int
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
nonStakedValue *big.Int
premineAmoountValue *big.Int

Choose a reason for hiding this comment

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

@Stefan-Ethernal Stefan-Ethernal merged commit 4b43827 into develop Dec 15, 2023
8 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the is-valid-address-zero-address-check branch December 15, 2023 12:34
bane added a commit that referenced this pull request Mar 14, 2024
* Deploy Network

* Add Permissions

* Minor changes

* Concurrency change

* Destroy Network

* Minor changes

* Minor changes

* Fix commit sha

* Minor changes

* Add Tests

* Disable Tests temporarily

* Nightly Build

* Minor fixes

* Big changes

* Minor changes

* Minor changes

* Minor changes

* Notification fixes

* Notification changes

* Minor changes

* Permissions fixes

* Minor changes

* Notification changes

* Minor changes

* Display commit on notifications

* Minor changes

* Minor fixes

* Logs notification fixes

* Minor changes

* Minor changes

* Minor changes

* Notifications fixes

* Minor changes

* Update actions version

* Deployment fixes

* Minor changes

* Minor changes

* Build repository fixes

* Load Test notification text changes

* EIP-1559; Check if the network is already deployed; Restore Blade Data

* Notifications fixes; Pass blade_repository when deploying the network

* Terraform fixes

* Minor changes

* Minor changes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Notification fixes

* Restore data fixes

* Fix condition

* Fix the RPC URL when the network is already deployed

* Fix the RPC URL when the network is already deployed

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fix condition

* Fixed when the network is first time deploying

* Fixed upload logs

* Fix: null URL if the network is destroyed but the state file exists

* Main notification changes

* Fix RPC URL; Fix Logs and Data upload

* Minor fix

* Minor fix

* Notification fixes

* Deploy fixes

* Big changes

* Condition fixes

* Version changes

* Test fixes

* Change golangci-lint-action source

* Change ec2-github-runner version; Always execute Build Blade

* Minor changes

* Lint fixes

* Nightly test

* Minor fixes

* Fix Linter bug

* Release changes

* goreleaser fixes
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