Commit Graph

604 Commits

Author SHA1 Message Date
Hendrik Hofstadt 9b6babbc4b Support "latest" tag in eth_getBlockByNumber
Fixes #140
2021-08-17 16:24:22 +02:00
s-medvedev 051e5d23b5
Merge pull request #125 from neonlabsorg/124-update-to-v1.7.6
Update to Solana v1.7.9
2021-08-12 20:19:20 +07:00
Semen Medvedev c547f0b6f5 Update to Solana v1.7.9 2021-08-12 17:19:55 +07:00
Anton Lisanin 5269663255
Merge pull request #136 from neonlabsorg/99_rent
#99 Make all created accounts rent exempt
2021-08-09 17:09:45 +03:00
Anton Lisanin 6da4924194
Merge pull request #137 from neonlabsorg/use_process_to_run_solana_cli
138 Use process to run solana cli
2021-08-09 10:25:49 +03:00
Vasiliy Zaznobin 75838a583a Separate arguments 2021-08-09 10:04:53 +03:00
Vasiliy Zaznobin a892db3f68 Replace usage of shell to run solana cli 2021-08-09 08:37:34 +03:00
Anton Lisanin 35ef21a878 #99 Make all created accounts rent exempt 2021-08-09 08:05:42 +03:00
Vasiliy Zaznobin 038bc97dd6
122 estimate gas on deploy a contract (proxy) (#123)
* If a param 'to' is empty the value "0x0000000000000000000000000000000000000000" is used

* if missing data in eth_estimateGas param return 9999997

* Field 'from' should be in params

* Use EVM_LOADER_REVISION=6da1b8d1ceee39d399e3e0048ff67d037c6a1caa

* SOLANA_REVISION=v1.7.6-resources

* EVM_LOADER_REVISION=9443f841b3635650b0eff682a704b1ce88daffc5

* EVM_LOADER_REVISION=b2cdd7ed80e2d7dc39a60f778b722856bc2c32cc

* EVM_LOADER_REVISION=660fdb7869bc7558260ba2e62a06160d7fe71019

* EVM_LOADER_REVISION=latest

* EVM_LOADER_REVISION=4cc855fbcb7ce1f3448294b30d107d425bcc4882

* EVM_LOADER_REVISION=338632c9c084a88aa355caaa9d8a4646084e7f5f

* Pass value to emulator on eth_estimateGas

* Introduce default value in call_emulated

* EVM_LOADER_REVISION=68972284db04beba2bf17bca6095eb7d65522209

* Introduce a proxy test of estimation on deploying a contract

* Correct the test

* EVM_LOADER_REVISION=b3fff7fcfb9d0d8e3810efb9192a0c790335851f

* Add a reaction of 'debug' param of eth_estimateGas

* Revert all unrelated whitespaces

* Revert all code related to -v or debug in context of emulator

* On eth_estimateGas the default 'from' is used as 0x0000000000000000000000000000000000000000

* On eth_estimateGas if 'data' is missing no throw an exception

* Revert -v -v -v -v

* Revert the changes in the CI files

* Reply an error on exception in eth_call

* Run neon-cli as a process - not as a shell script

* Remove useless imports

* Use "None" if <DATA> is empty on eth_estimateGas and on eth_call

* Add a test to check eth_estimateGas on deploying a contract with the empty data

* Correct test to check eth_estimateGas on deploying a contract with the empty data

* Add tests
 - Check eth_estimateGas on deploying a contract with the empty value
 - Check eth_estimateGas on deploying a contract with the empty data and value

* Change calling neon-cli

* Remove unnecessary dependencies
2021-08-09 06:50:26 +03:00
s-medvedev 3f8c2f525a
Merge pull request #131 from neonlabsorg/fix_dockerfile
Dockerfile
2021-08-04 16:12:26 +07:00
Vasiliy Zaznobin d04c9f1984
Merge pull request #130 from neonlabsorg/Remove_all_images_used_by_any_service
Remove all images used by any service
2021-08-04 11:13:50 +03:00
sinev-valentine 7871187b2b Dockerfile 2021-08-03 18:56:52 +03:00
Vasiliy Zaznobin 2d6f4f40a2 Remove all images used by any service 2021-08-03 12:06:43 +03:00
Anton Lisanin c571980835
Merge pull request #129 from neonlabsorg/fix_ci_after_tokens_merge
Fix CI after tokens merge
2021-07-27 16:43:33 +03:00
Anton Lisanin 79a02fd692 Fix CI after tokens merge 2021-07-27 16:10:44 +03:00
Anton Lisanin 97b5921b55
Merge pull request #119 from neonlabsorg/77_eth_token
* Add token accounts to AccountMeta
* Execute transactions without call data
2021-07-27 12:54:11 +03:00
Anton Lisanin 690e0af886 #77 Fix solana-py.patch 2021-07-26 13:49:46 +03:00
Anton Lisanin 65598ab7de #77 Execute transactions without call data 2021-07-23 16:49:01 +03:00
Dmitriy Borisenko 679db3d999
Merge pull request #127 from neonlabsorg/126_testnet_storage_account
Storage account reusage #126
2021-07-20 19:15:09 +03:00
Dmitriy Borisenko 95605c0203 storage account reusage #126 2021-07-20 11:52:58 +03:00
s-medvedev 58cc43208b
Merge pull request #115 from neonlabsorg/106-Return_correct_value_from_`eth_estimateGas`
106-Return correct value from `eth_estimateGas` (proxy part)
2021-07-16 08:24:55 +03:00
Vasiliy Zaznobin 22a6854db9 set ${EVM_LOADER_REVISION:=latest} 2021-07-15 21:59:35 +03:00
Vasiliy Zaznobin d5ab2972f0 Merge remote-tracking branch 'origin/develop' into 106-Return_correct_value_from_`eth_estimateGas` 2021-07-15 18:57:08 +03:00
s-medvedev e016fd5c54
Merge pull request #121 from neonlabsorg/set_pipefail_and_correct_echo_print
set -xeo pipefail
2021-07-15 18:50:48 +03:00
Vasiliy Zaznobin 3e6e80853c Merge remote-tracking branch 'origin/develop' into 106-Return_correct_value_from_`eth_estimateGas` 2021-07-15 18:10:46 +03:00
Vasiliy Zaznobin 7e3b47239b set -xeo pipefail
correct echo print
2021-07-15 17:44:13 +03:00
s-medvedev 74c032eb1f
Merge pull request #120 from neonlabsorg/116-deploy-at-specified-address
Use --upgrade-authority when deploy evm_loader #116
2021-07-15 17:37:41 +03:00
Semen Medvedev 1a8e7ce945 Use --upgrade-authority when deploy evm_loader #116 2021-07-15 21:32:46 +07:00
Vasiliy Zaznobin 8c06b90712 Merge remote-tracking branch 'origin/develop' into 106-Return_correct_value_from_`eth_estimateGas` 2021-07-15 16:00:40 +03:00
s-medvedev 4f0d93e8d2
Merge pull request #114 from neonlabsorg/87-Simplify_using_of_proxy_Docker-image#87
87 simplify using of proxy docker image#87
2021-07-15 15:57:15 +03:00
Anton Lisanin 5887e5ca8c #77 Add token accounts to AccountMeta 2021-07-15 14:48:35 +03:00
Vasiliy Zaznobin b33e872a75 set ${EVM_LOADER_REVISION:=a52ae02933f6ea66d8dcd435100c6e9ef61c5bdb} 2021-07-15 12:39:16 +03:00
Vasiliy Zaznobin 27d3524635 Remove first solana-keygen 2021-07-15 10:51:47 +03:00
Vasiliy Zaznobin 3aa3fa75c3 Use $ADDRESS 2021-07-15 10:37:04 +03:00
Vasiliy Zaznobin cd21386bbb Do airdropping only for a new wallet 2021-07-15 10:24:46 +03:00
Vasiliy Zaznobin af940e73d9 Merge remote-tracking branch 'origin/develop' into 106-Return_correct_value_from_`eth_estimateGas` 2021-07-15 10:05:27 +03:00
Vasiliy Zaznobin 71ceb566a0 Merge remote-tracking branch 'origin/develop' into 87-Simplify_using_of_proxy_Docker-image#87
# Conflicts:
#	proxy/run-proxy.sh
2021-07-15 10:03:59 +03:00
s-medvedev 5420cec228
Merge pull request #117 from neonlabsorg/116-deploy-at-specified-address
Load evm_loader at specifed address #116
2021-07-15 07:39:18 +03:00
Semen Medvedev 90c6e9f5d4 Load evm_loader at specifed address #116 2021-07-15 02:47:54 +07:00
Vasiliy Zaznobin 6bf327ca25 Fix ./proxy/run-proxy.sh: line 32: EVM_LOADER: unbound variable 2021-07-14 22:18:13 +03:00
Vasiliy Zaznobin 2eb3f70240 Fix the review remarks 2021-07-14 21:47:51 +03:00
Vasiliy Zaznobin dbb9dcc835 Fix the review remarks 2021-07-14 21:01:47 +03:00
Vasiliy Zaznobin 714be58056 Fix the review remarks 2021-07-14 20:34:58 +03:00
Vasiliy Zaznobin 3b7bcfe6ce Fix the review remarks 2021-07-14 16:24:01 +03:00
Vasiliy Zaznobin e72855c1ab set ${EVM_LOADER_REVISION:=c276ad9c5a15d9947fb2023fc8ebb114cdb2ca17} 2021-07-14 15:19:23 +03:00
Vasiliy Zaznobin 1e5a03e583 Use EVM_LOADER_REVISION=c276ad9c5a15d9947fb2023fc8ebb114cdb2ca17 2021-07-14 14:51:49 +03:00
Vasiliy Zaznobin 22ba34f502 Get an used gas value from an emulation result 2021-07-14 14:10:58 +03:00
Vasiliy Zaznobin 3011ade565 export EVM_LOADER_TEST_NET_ID="9pwEPcVFRwP3hwCbwy9E9o1nhRz67EHiPsphmaTQwxtB" 2021-07-13 12:24:09 +03:00
Vasiliy Zaznobin 23f61ed038 Add check that balance > 20 otherwise airdroping by 1 SOL up to 20 2021-07-13 11:41:30 +03:00
Vasiliy Zaznobin 499ac3bbc8 Set default SOLANA_URL="https://api.testnet.solana.com" 2021-07-13 10:15:15 +03:00