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

chore: merge develop to evm #653

Merged
merged 140 commits into from
Jul 3, 2024
Merged

chore: merge develop to evm #653

merged 140 commits into from
Jul 3, 2024

Conversation

sebastijankuzner
Copy link
Contributor

Summary

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

sebastijankuzner and others added 30 commits February 26, 2024 12:02
* Ignore eslint in scripts

* Use async calls

* Ignore tests

* Show testonly dependencies

* Calculate deps

* Add docs

* Implement methods on Package

* Cleanup

* Rename deps to imports

* Fix exceptions

* Pass method

* Go trough all packages

* Improve logs

* Rename file

* Remove old scripts

* Exit with 1 if failing

* Fix validator-set-vote-weighted

* Validator set static

* Fix validator

* Fix utils

* Fix transaction pool

* Fix test-framework

* Fix packages

* Add deps check

* style: resolve style guide violations

* Fix ci

* Fix api

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Remove console logs

* Remove forger errors

* Remove UnexpectedError

* Remove extra exceptions

* Add ValidatorExceptions

* Handler throws errors

* Improve logs

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Add banner jpeg

* Remove png version

* Update readme
* release: 0.0.1-alpha.8

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
…stered validators (#466)

* Mak method private

* Build validators

* Local variable

* Use for of loop

* Check active validators

* Fix tests
* Add pg:reset

* Decrease vote balance

* Include fee

* Remove unused line

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* release: 0.0.1-alpha.9

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Run on pull request

* No git checks

* set token

* Revert to original build conditions

---------

Co-authored-by: oXtxNt9U <120286271+oXtxNt9U@users.noreply.github.com>
…rs (#472)

* refactor transfer amount deduction

* cleanup

* update schema tests
* Clear plugins & exports

* Clear data

* Remove variables

* Add paths to contracts

* Remove config paths

* Cache cache, log, temp

* Cleanup

* Add command to api

* Add clear all

* Fix case
* release: 0.0.1-alpha.10

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
… by sender in pool (#475)

* Rename variable

* Fix text

* Check transaction already in the pool
* Inject

* Print method

* Print on bootstrap

* Rename method

* Execute after state check

* Improve text

* Log 0 validators

* Determine activa & standby

* Wallet to string
* Add sizeOfIndex

* Add initial implementation

* Wallet repository clone

* Implement on wallet repo clone

* Add missing attribute

* FIx validator resignation
* release: 0.0.1-alpha.11

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* initial browser support

* add package link script

* port api-common

* port api-database

* port api-development

* port api-http

* port api-sync

* port api-transaction-pool

* port api

* port bootstrap

* port cli

* port configuration-generator

* port consensus

* port webhooks

* port validator

* port validator-set-vote-weighted

* port validator-set-static

* port validation

* port utils

* port transactions

* port transaction-pool

* port test-framework

* port state

* port serializer

* port proposer

* port processor

* port p2p

* port networking-ntp

* port networking-dns

* port logger-winston

* port logger-pino

* port kernel

* port fees

* port fees-static

* port fees-managed

* port fees-burn

* port database

* port crypto-worker

* port crypto-wif

* port crypto-validation

* port crypto-transaction

* port crypto-transaction-vote

* port crypto-transaction-validator-resignation

* port crypto-transaction-validator-registration

* port crypto-transaction-username-resignation

* port crypto-transaction-username-registration

* port crypto-transaction-transfer

* port crypto-transaction-multi-signature-registration

* port crypto-transaction-multi-payment

* port crypto-signature-schnorr

* port crypto-signature-schnorr-secp256k1

* port crypto-signature-ed25519

* port crypto-signature-ecdsa

* port crypto-signature-bls12-381

* port crypto-messages

* port crypto-key-pair-schnorr

* port crypto-key-pair-ed25519

* port crypto-key-pair-ecdsa

* port crypto-key-pair-bls12-381

* port crypto-hash-wasm

* port crypto-hash-noble

* port crypto-hash-bcrypto

* port crypto-consensus-bls12-381

* port crypto-config

* port crypto-commit

* port crypto-block

* port crypto-address-ss58

* port crypto-address-keccak256

* port crypto-address-bech32m

* port crypto-address-bech32

* port crypto-address-base58

* port core

* port contracts

* port container

* update tsconfig to nodenext

* fix kleur/color

* update core/bin/run.js

* command fixes

* lmdb import fixes

* p2p fixes

* ajv fix

* get __dirname

* update pnpm-lock.yaml

* remove unused @pm2/io dependency

* replace fileURLToPath

* use filesystem service inside kernel

* cleanup

* update TypeScript to 5.4.2

* move __dirname into local scope

* replace fast-memoize with memoizee

* test-runner packacge

* re-export test-runner

* tests: utils

* tests: validation

* tests: crypto-config

* tests: container

* tests: kernel

* tests: transactions

* style: resolve style guide violations

* fix more tests

* fix transaction dependency lookup

* fix p2p tests

* more fixes

* fix cli and configuration-generator

* cli fixes

* kernel fixes

* transaction-pool

* all pass

* commit dirty

* style: resolve style guide violations

* fix api-http integration tests

* fix deps:check

* runtime fixes

---------

Co-authored-by: oXtxNt9U <oXtxNt9U@users.noreply.github.com>
Co-authored-by: sebastijankuzner <sebastijan.kuzner@outlook.com>
* fix api entrypoint

* fix more commands
* return tx indexes as integers

* fix compile error
* update dependencies

* Empyt commit

---------

Co-authored-by: sebastijankuzner <sebastijan.kuzner@outlook.com>
* fix create genesis block script

* Empty commit

---------

Co-authored-by: sebastijankuzner <sebastijan.kuzner@outlook.com>
* ensure run script has explicit file extension

fixes ERR_UNKNOWN_FILE_EXTENSION

* empty commit
* Fix start commands

* Fix package.json

* Fix tests
* release: 0.0.1-alpha.12

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Fix package manifest

* Skip tests
* release: 0.0.1-alpha.13

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Add setup class

* Fix setup

* Bind

* Fixes

* Use setup paths

* Use in api

* Remove logs

* Fix tests

* Cleanup tests
sebastijankuzner and others added 27 commits June 6, 2024 10:59
…roadcast (#612)

* Add package

* Add peer

* Add peer repository

* Add verifier

* Add peer processor

* Defaults

* Bind identifiers

* Add broadcaster

* Skip verification

* Extract api node

* Register services

* Add index

* Fix

* Register broadcaster

* Set peer action

* Forget peer

* Use in actions

* Broadcast

* Remove after errors

* Use defaults

* Add env variables

* Remove send action

* Support worker events

* Remove peer

* Remove pending peers, verifier and processor

* Verify tx pool node

* Remove log

* Read port from defaults

* Read from defaults

* Remove identifiers

* Fix unit tests

* Fix deps

* Fix functional tests

* Update e2e app.json

* style: resolve style guide violations

* Fix ts error

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
…json (#615)

* Make fields optional

* Add validation

* Add deps

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
)

* Set timeout before handle

* Make proposal promise

* Add timeouts
* set processor result on bootstrap

* empty commit
* Restore before genesis

* Empty commit

* skip restore if database is empty

---------

Co-authored-by: oXtxNt9U <120286271+oXtxNt9U@users.noreply.github.com>
* Skip deserialization on make

* Fix crypto-block tests

* Fix test framework

* Fix database tests
* Empty commit

* Increase timeouts
* Time limit

* Empty commit

* Add defaults

* Use default

* Fix tests

* Set block prepare time
* Remove ignores

* Update pino

* Update pino pretty

* Update rotating-file-stream

* Remove pid

* Show thread name

* Fix tests
* Add dayjs

* Verify future blocks

* Add tolerance milestone

* Use tolerance

* Fix tests

* style: resolve style guide violations

* Fix integration tests

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Remove commit messages

* empty commit
…lestone change (#630)

* Skip export

* Cleanup after block

* Re add transactions on milestone change

* Remove handlers

* Add start handler

* Fix tests
* use latest actions

* update script
…#632)

* Remove revert on sender state

* Remove forged transactions method

* Add initial commit methods

* Remove forged transactions

* Implement commit

* Remove failed transactions

* Cleanup is private

* Implement reAddTransactions transactions

* Add remove transactions

* Make remove methods sync

* Rename method to fixInvalidStates

* Call fixInvalidStates

* Cleanup service

* Remove asserts

* Remove removeTransaction

* Move commit to service

* Use debug logs

* Skip tests

* style: resolve style guide violations

* Fix worker

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Add events

* Move events under contracts

* Fix tests

* Fix tests

* Void floating promises

* Move webhook events

* Fix webhook tests
* Remove emitter in parameter

* Fix tests
* update e2e network config

* add 2 more nodes

* style: resolve style guide violations

---------

Co-authored-by: oXtxNt9U <oXtxNt9U@users.noreply.github.com>
* Emit events

* Boot only on main thread

* Move interfaces

* Move identifiers

* Use database contract

* Add webhooks to transaction pool

* Fix tests

* Add handler

* Listen to events

* Fix tests
* release:  0.0.1-alpha.19

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Include api-transaction-pool

* Fix deps

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* release: 0.0.1-alpha.20

* style: resolve style guide violations

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
* Rebuild proto

* Update get status

* Update controller

* Fix tests

* style: resolve style guide violations

* Update schema

* style: resolve style guide violations

* Reply schema required fields

---------

Co-authored-by: sebastijankuzner <sebastijankuzner@users.noreply.github.com>
@oXtxNt9U oXtxNt9U merged commit 4ce7564 into evm Jul 3, 2024
8 checks passed
@oXtxNt9U oXtxNt9U deleted the chore/merge-develop-to-evm branch July 3, 2024 00:39
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.

4 participants