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

299 emulate solidity raise an exception #368

Merged
merged 109 commits into from
Dec 22, 2021

Conversation

rozhkovdmitrii
Copy link
Contributor

No description provided.

ivandzen
ivandzen previously approved these changes Dec 20, 2021
ivandzen
ivandzen previously approved these changes Dec 21, 2021
@s-medvedev s-medvedev merged commit 5ed6bb7 into develop Dec 22, 2021
@s-medvedev s-medvedev deleted the 299-emulate-solidity-raise-an-exception branch December 22, 2021 08:52
rozhkovdmitrii added a commit that referenced this pull request Mar 12, 2022
* Introduce proxy/db_scheme.py

* Debug

* Introduce run-db-creation.sh

* Use entrypoint: proxy/run-db-creation.sh

* Add dbcreation.log

* Debug

* Debug

* Add dbcreation.log

* Use from ..proxy

* Debug

* Debug

* Introduce dbcreation_mode to run proxy

* Change paths

* Will run in dbcreation mode with SOLANA_URL and EVM_LOADER

* Debug

* Debug

* Debug

* SOLANA_URL: http://solana:8899

* Add logged_groups

* Debug

* Log schema

* Use psql

* Add postgresql-client-common in the docker image

* Add postgresql-client in the docker image

* Set network_mode: container:postgres

* Remove networks

* Use network_mode: service:postgres

* Remove hostname

* Remove hostname

* ports:
      - "5432:5432"

* networks:
      - net

* Add     ports:
          - "5432"

* Add    networks:
         - net

* Try to use links: - postgres

* Use export PGPASSWORD=${POSTGRES_PASSWORD} to set the password for psql
Use psql -h ${POSTGRES_HOST} ...

* Use run_dbcreation()

* Correction after the prev merge

* Correction after the prev merge

* Lowercase in function names

* Refactor to introduce scheme.sql

* Debug

* Debug

* Debug

* Add table airdrop_scheduled
Add table constants

* Revert some changes

* Fixed: psql:proxy/db/scheme.sql:73: ERROR:  syntax error at or near "{"
       LINE 1: ...IF NOT EXISTS neon_transaction_logs_block_hash ON {table_nam...

* Use run_indexer(solana_url)

* Use run_airdropper with 7 args

* Remove creation.py

* Remove creation.py

* Remove dbcreation_mode

* check it

* check it

* Catch "Operator has NO resources!" exception

* Catch "Operator has NO resources!" exception

* Get rid of create_table in sql_dict.py

* Get rid of stuff from sql_dict

* Get rid of crating table stuff from TrxReceiptsStorage

* Roll back NEON_ERC20_MAX_AMOUNT
          NEON_ETH_MAX_AMOUNT

* Spit and polish

Co-authored-by: rozhkovdmitrii <[email protected]>
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.

Call emulated: PaymentSplitter.rejects an empty set of payees
3 participants