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

Testnet 19 #3358

Merged
merged 84 commits into from
Feb 1, 2023
Merged

Testnet 19 #3358

merged 84 commits into from
Feb 1, 2023

Conversation

AurelienFT
Copy link
Contributor

No description provided.

AurelienFT and others added 30 commits January 2, 2023 08:57
* Update CI files.

* Test replace some dependencies branches.

* Try new command.

* Try to fix usage of ref name.

* Fix sed command.

* Add clone of massa-as-sdk

* Add more replacing in cargo toml

* Try new sed command.

* Add launch of GC.

* debug ci

* Remove debug.

* Try to have dependencies that build for gas-calibration

* Use only generate flag for gas calibration.

* try glob pattern in save

* Change back save to testnet 19

* Add some documentation
Rename `Wrapper` (and friends) to `SecureSend` (and friends)

Also expanded on some doc-comments.
* fix: missing operation in OpenRPC

* Bump tokio from 1.23.0 to 1.23.1

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.23.0...tokio-1.23.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
* Update bootstrap keys to be nodeid.

* Fix type incompatibility

* Fix compile tests.
* Added IPv6 addresses in bootstrap list and bootstrap_protocol setting

bootstrap_protocol may be "ipv4", "ipv6". Any other string defaults to both protocols.

* Some optimisations and comments

* Added setting documentation

* Updated PublicKey -> NodeId (see merge commit)

* Updated bootstrap test fake config

* Added debug log to check the number of filtered out ips.

* Refactoring + using IpType enum

* Removed unnecessary .clone()

* Dedup optimisation

We don't need to shuffle twice the bootstrap list anymore
Co-authored-by: AurelienFT <aurelien.foucault@epitech.eu>
closes #2950
* Added new commands (e.g. node_start_staking with address)

node_start_staking, implemented
renamed node_remove_staking_addresses to node_stop_staking for consistency
get_public_key Address: get public key of an address, not yet implemented
get_secret_key Address: get secret key of an address, not yet implemented

* Removed node_remove_staking_addresses

get_secret_key and get_public_key updated but still need their output defined

* cargo fmt

* Fixed unused var warning

* Do not ask for password unless needed

/!\ pwd_needed should be added to the command description when needed, check existing code!

* Fix clippy warn

* Fixed clippy warn

* Idem

* Implemented get_public_key and _get_secret_key

* Updated wallet_info command to avoid leaking secret data

* fix cargo fmt

* Changed pwd_needed to pwd_not_needed

* Changed massa-sc-runtime branch targeting to main

* Added comments

* Handle -p --pwd as well as env::var("MASSA_CLIENT_PASSWORD")

* Better handling of address List in get_public_key and get_secret_key

* Fix output

* fix fmt

* Updated warning messages

* Changed get_public_key and get_secret_key names

get_public_key -> wallet_get_public_key and get_secret_key -> wallet_get_secret_key
Co-authored-by: AurelienFT <aurelien.foucault@epitech.eu>
* Provide a bootstrap timeout consistent with other config vals
aoudiamoncef and others added 24 commits January 27, 2023 01:29
Use hashed bytecode as module cache keys
3477: Optional support for githooks r=aoudiamoncef a=aoudiamoncef

* [x] document all added functions
* [x] try in sandbox /simulation/labnet
* [x] unit tests on the added/changed features
  * [x] make tests compile
  * [x] make tests pass 
* [x] add logs allowing easy debugging in case the changes caused problems
* [x] if the API has changed, update the API specification

closes #3080 

Co-authored-by: Moncef AOUDIA <ma@massa.net>
* Update all dependencies include sc-runtime.

* gas calibration test

* gas calibration round_abi_costs

* Downgrade gas cost from abi that compile

---------

Co-authored-by: Massembler <af@massa.net>
* Added comments for IPv6 setup.
@AurelienFT AurelienFT marked this pull request as ready for review February 1, 2023 17:57
@AurelienFT AurelienFT requested a review from Eitu33 February 1, 2023 18:09
@Eitu33
Copy link
Contributor

Eitu33 commented Feb 1, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 1, 2023

Build succeeded:

@bors bors bot merged commit dd828cf into main Feb 1, 2023
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.

6 participants