Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

version up to v0.9.4 #513

Merged
merged 264 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
0dede70
Merge pull request #386 from klaytn/fix/update-doc
Sotatek-HauTran3 Jun 28, 2023
08e5793
Merge pull request #387 from klaytn/feature/update-java-test-for-klay…
Sotatek-PhucNguyen5 Jun 28, 2023
72791c9
update python test debug
Jun 28, 2023
83f8412
Merge pull request #388 from klaytn/feat/update-python-test-bebug-rpc
Jun 28, 2023
80deb2c
feat:upadte python test admin rpcs
Sotatek-HieuTran3 Jun 28, 2023
fc76edd
Merge pull request #389 from klaytn/feat/update-python-test-admin-rpc…
Jun 28, 2023
5b11bab
test: update-java-test-for-klay-rpc-74-75-76-77-78-80-81-82-83-84-85-…
Jun 28, 2023
b037add
update unit test for 9 29 31 48 50 51 52 102 104 105 106 107 108 109 …
Sotatek-TruongNguyen5 Jun 28, 2023
3f5e21f
Merge pull request #391 from klaytn/feature/update-java-test-for-klay…
Sotatek-PhucNguyen5 Jun 28, 2023
427bc0a
Merge pull request #392 from klaytn/update-java-test-for-klay-rpc-9_2…
Sotatek-PhucNguyen5 Jun 28, 2023
9403514
Feat: Update js test eth miscell transaction other
Sotatek-HuynhVu Jun 28, 2023
ce8a196
Merge pull request #395 from klaytn/feat/update-js-test-eth-28-06
Sotatek-HauTran3 Jun 28, 2023
d136413
update unit test for klay
Jun 29, 2023
17df7b7
Merge pull request #397 from klaytn/feat/update-unit-test-for-klay
Sotatek-HauTran3 Jun 29, 2023
1c354b2
update python test debug profiling
Jun 29, 2023
11e9996
Merge pull request #399 from klaytn/feat/update-python-test-debug-pro…
Jun 29, 2023
d267c11
update unit test for klay part 2
Jun 29, 2023
1f8f70a
test: update-java-test-for-klay-rpc-121-123-127-128-129-130-131-138-1…
Jun 29, 2023
b12642a
Merge pull request #400 from klaytn/feat/update-unit-test-for-klay
Sotatek-HauTran3 Jun 29, 2023
fce1b73
feat:update python klay test
Sotatek-HieuTran3 Jun 29, 2023
58a6271
Merge pull request #403 from klaytn/feat/update-python-klay-test-29-06
Jun 29, 2023
b78471b
review-test: update-java-test-for-klay-rpc-121-123-127-128-129-130-13…
Jun 29, 2023
addc6ae
update unit test for 98 99 100 164 to 168 170 to 175 180 to 184 186 1…
Sotatek-TruongNguyen5 Jun 29, 2023
4eaa961
Feat: update js test net personal txpool
Sotatek-HuynhVu Jun 29, 2023
9d9dbf8
update unit test for 98 99 100 164 to 168 170 to 175 180 to 184 186 1…
Sotatek-TruongNguyen5 Jun 29, 2023
8ca81b6
review-2-test: update-java-test-for-klay-rpc-121-123-127-128-129-130-…
Jun 30, 2023
b6873ce
Merge pull request #406 from klaytn/feat/update-js-test-29-06
Sotatek-HauTran3 Jun 30, 2023
6e699cd
update unit test for debug
Jun 30, 2023
d7cf164
update python test personal
Jun 30, 2023
b857b0a
Merge pull request #409 from klaytn/update-unit-test-for-debug
Sotatek-HauTran3 Jun 30, 2023
2761a21
Merge pull request #410 from klaytn/feature/update-java-unit-test-for…
Sotatek-PhucNguyen5 Jun 30, 2023
b1d8dc4
Merge pull request #411 from klaytn/feat/update-python-test-personal-…
Jul 3, 2023
999a4e1
Merge pull request #412 from klaytn/update-java-test-for-klay-rpc-98_…
Sotatek-PhucNguyen5 Jul 3, 2023
063363d
feat:update python check response type
Sotatek-HieuTran3 Jul 3, 2023
cc58314
Merge pull request #413 from klaytn/feat/update-python-check-response…
Jul 3, 2023
a9ad6cf
update unit test for admin
Jul 3, 2023
7608d70
Merge pull request #415 from klaytn/update-unit-test-for-admin
Sotatek-HauTran3 Jul 3, 2023
7f29dbf
Feat: update js test governance and klay
Sotatek-HuynhVu Jul 3, 2023
28b4e2f
Merge pull request #416 from klaytn/feat/update-js-test-03-07
Sotatek-HauTran3 Jul 3, 2023
1c53a13
test: update java unit test for rpc 86 88 142 224 239 240 246
Jul 3, 2023
66d39b7
update unit test for 16 37 101 126 135 145 154 176 185 188 203 206 20…
Sotatek-TruongNguyen5 Jul 3, 2023
09ba630
Merge pull request #417 from klaytn/feature/update-java-test-for-some…
Sotatek-PhucNguyen5 Jul 3, 2023
3bb88d5
update unit test for 16 37 101 126 135 145 154 176 185 188 203 206 20…
Sotatek-TruongNguyen5 Jul 3, 2023
a9559d4
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Jul 3, 2023
47a9e9d
Merge branch 'feat/update-java-test-for-debug-eth-governance-klay-per…
Sotatek-TruongNguyen5 Jul 3, 2023
7186fdd
update unit test for 16 37 101 135 145 146 154 176 185 188 203 206 20…
Sotatek-TruongNguyen5 Jul 3, 2023
569b573
update unit test for admin
Jul 3, 2023
b9a1d58
Feat: update js test governance and klay
Sotatek-HuynhVu Jul 3, 2023
5486d20
feat:upfate python apis test
Sotatek-HieuTran3 Jul 4, 2023
0e5f011
Merge pull request #420 from klaytn/feat/update-python-apis-test-03-07
Jul 4, 2023
b48c475
test: update java unit test for rpc 5 27 53 72 95 96 97 124 126 132 1…
Jun 30, 2023
603ffb5
test: update java unit test for rpc 86 88 142 224 239 240 246
Jul 3, 2023
481dc68
Merge branch 'feat/update-java-test-for-debug-eth-governance-klay-per…
Sotatek-TruongNguyen5 Jul 4, 2023
5b19a80
Merge pull request #422 from klaytn/feature/update-java-test-for-some…
Sotatek-PhucNguyen5 Jul 4, 2023
970be71
test: update java unit test for rpc 87 90 94 116 122 156 161 179 212 …
Jul 4, 2023
32f125c
update unit test for debug and admin
Jul 4, 2023
bf02186
Merge pull request #423 from klaytn/update-unit-test-for-debug-and-admin
Sotatek-HauTran3 Jul 4, 2023
2721b3e
Feat: update js test 04-07
Sotatek-HuynhVu Jul 4, 2023
438b3a0
Merge pull request #424 from klaytn/feat/update-js-test-04-07
Sotatek-HauTran3 Jul 4, 2023
f60cd1b
Merge pull request #425 from klaytn/feat/update-java-test-for-debug-e…
Sotatek-PhucNguyen5 Jul 4, 2023
bc9f8c2
Merge pull request #426 from klaytn/feature/update-java-test-for-some…
Sotatek-PhucNguyen5 Jul 5, 2023
4ad1832
update test python admin rpc
Jul 5, 2023
28547b2
Merge pull request #427 from klaytn/feat/update-test-python-admin-05-07
Jul 5, 2023
7adfa96
feat:update python apis test 04 07
Sotatek-HieuTran3 Jul 5, 2023
88e0ad8
Merge pull request #428 from klaytn/feat/update-python-apis-test-04-07
Jul 5, 2023
5f893b4
check again api 15 54 55 57, update api 210
Sotatek-TruongNguyen5 Jul 5, 2023
9cd8fbc
update unit test for debugTraceBlockByHash and klayGetFilterLogs
Jul 5, 2023
0d845d3
Merge pull request #430 from klaytn/update-unit-test-for-debug
Sotatek-HauTran3 Jul 5, 2023
22238ce
test: update java unit test for rpc 169 177 178 208 209 213 215 216
Jul 5, 2023
8d0b63e
Merge pull request #432 from klaytn/update-java-test-05-07-23
Sotatek-PhucNguyen5 Jul 5, 2023
713c318
Merge pull request #433 from klaytn/feature/update-java-test-for-some…
Sotatek-PhucNguyen5 Jul 5, 2023
40b5ebd
test: update java unit teth_getFilterLogsest for RPC eth_getFilterLogs
Jul 5, 2023
e932000
Feat: update js test 05-07
Sotatek-HuynhVu Jul 5, 2023
721e1cc
Merge pull request #435 from klaytn/feat/update-js-test-05-07
Sotatek-HauTran3 Jul 5, 2023
58a0ff4
feat update python test net debug admin
Jul 6, 2023
9e79c21
Merge pull request #438 from klaytn/feate/update-python-test-net-debu…
Jul 6, 2023
547d415
feat:update python apis test pass
Sotatek-HieuTran3 Jul 6, 2023
1faaf90
Merge pull request #439 from klaytn/feat/update-python-apis-test-pass…
Jul 6, 2023
be74063
test: update java unit test for some RPC 34 124 153 91
Jul 6, 2023
7c733c9
update api 17 226, check again 9 56
Sotatek-TruongNguyen5 Jul 6, 2023
55083c0
Merge pull request #441 from klaytn/feature/update-java-test-for-some…
Sotatek-PhucNguyen5 Jul 6, 2023
a47766c
Feat: update js test 06/07
Sotatek-HuynhVu Jul 6, 2023
4508b8f
update api 17 226, check again 9 56
Sotatek-TruongNguyen5 Jul 6, 2023
d514e74
Merge pull request #442 from klaytn/feat/update-js-test-06-07
Sotatek-HauTran3 Jul 6, 2023
6950b4e
Merge pull request #443 from klaytn/update-java-test-06-07-23
Sotatek-PhucNguyen5 Jul 6, 2023
58afd2d
update python test eth other
Jul 7, 2023
8989a9d
Merge pull request #444 from klaytn/feat/update-python-test-eth-other…
Jul 7, 2023
58a608a
feat:update python apis web3 test
Sotatek-HieuTran3 Jul 7, 2023
68cf047
Merge pull request #445 from klaytn/feat/update-python-apis-web3-test…
Jul 7, 2023
ae8dbca
update rpc admin_importChain, admin_exportChain, klay_getFilterChange…
Sotatek-HuyLe3 Jul 7, 2023
099db51
Merge pull request #446 from klaytn/update-some-java-rpc-unit-test
Sotatek-PhucNguyen5 Jul 7, 2023
b5e9e16
test: update java unit test for some RPC 61
Jul 7, 2023
38af263
Merge pull request #447 from klaytn/feature/update-java-test-for-rpc-61
Sotatek-PhucNguyen5 Jul 7, 2023
6b71754
update java unit tests for RPCs
Sotatek-HuyLe3 Jul 7, 2023
61d0a64
Merge pull request #448 from klaytn/update-java-unit-tests-for-rpcs
Sotatek-PhucNguyen5 Jul 7, 2023
bee44da
update java unit tests for RPCs
Sotatek-HuyLe3 Jul 10, 2023
bbc66f8
Merge pull request #449 from klaytn/update-java-unit-test-rpcs
Sotatek-PhucNguyen5 Jul 10, 2023
5a018ac
test: update java unit test for some klay RPC
Jul 10, 2023
330970c
Feat: update js test personal send account update
Sotatek-HuynhVu Jul 10, 2023
96c703b
Merge pull request #451 from klaytn/feature/update-java-test-for-some…
Sotatek-PhucNguyen5 Jul 10, 2023
651cb56
Merge pull request #452 from klaytn/feat/update-js-test-10-07
Sotatek-HauTran3 Jul 10, 2023
320a9f6
feat:update python api persional 10 07
Sotatek-HieuTran3 Jul 10, 2023
b28b625
Merge pull request #453 from klaytn/feat/update-python-api-persional
Jul 10, 2023
2d5873b
update api personal_sendAccountUpdate, coding convention
Sotatek-TruongNguyen5 Jul 10, 2023
9c67132
Merge pull request #454 from klaytn/update-java-test-10-07
Sotatek-PhucNguyen5 Jul 11, 2023
90ab00f
update python test
Jul 11, 2023
90c2a30
Merge pull request #457 from klaytn/update-python-test-11-07
Jul 11, 2023
8aec15e
update api testcase
Sotatek-TruongNguyen5 Jul 11, 2023
572c028
Merge pull request #459 from klaytn/update-java-test-11-07
Sotatek-PhucNguyen5 Jul 12, 2023
deaaa08
fix: fix admin_getSpamThrottlerCandidateList response
Jul 13, 2023
f77e783
Merge pull request #462 from klaytn/fix/admin_getSpamThrottlerCandida…
Sotatek-PhucNguyen5 Jul 13, 2023
2fba7fa
Fix: update yaml debug trace
Sotatek-HuynhVu Jul 13, 2023
450f250
Merge pull request #463 from klaytn/fix/update-yaml-debug-trace
Sotatek-HauTran3 Jul 13, 2023
2df1e39
fix: fix yaml debug trace response for some apis
Jul 13, 2023
23977d8
Merge pull request #464 from klaytn/fix/fix_yaml_debug_trace_response
Sotatek-HauTran3 Jul 13, 2023
51e535b
update test admin_getSpamThrottlerCandidateList, update test after fi…
Sotatek-TruongNguyen5 Jul 13, 2023
77c4c1a
Merge pull request #465 from klaytn/update-java-test-13-07
Sotatek-PhucNguyen5 Jul 14, 2023
a4fdb11
test: update-java-test-for-klay-rpc-1-4-6-7-10-11-12-14-18-21-22-23-2…
Jun 27, 2023
7f13903
44 45 46 47 55 56 57 apis test
Sotatek-TruongNguyen5 Jun 27, 2023
edeb519
Fix: update docs define response
Sotatek-HuynhVu Jun 27, 2023
e05b689
fix: update x-additionalPropertiesName
Jun 27, 2023
b0b90b9
Feat: update js test for eth account-block-config-filter-gas
Sotatek-HuynhVu Jun 27, 2023
a0a3b18
unit test for 2-3-7-13-15-54
Sotatek-TruongNguyen5 Jun 27, 2023
6984cb2
remove comment
Sotatek-TruongNguyen5 Jun 27, 2023
ee5422e
update: doc getBlockWithConsensusInfoByNumberRange getChainConfig
Jun 27, 2023
56037fe
feat: update java unit tests for some klay rpcs
Sotatek-HuyLe3 Jun 27, 2023
3b3518e
update python test debug
Jun 28, 2023
3d05ad7
feat:upadte python test admin rpcs
Sotatek-HieuTran3 Jun 28, 2023
7f61df5
test: update-java-test-for-klay-rpc-74-75-76-77-78-80-81-82-83-84-85-…
Jun 28, 2023
c1ae3d8
update unit test for 9 29 31 48 50 51 52 102 104 105 106 107 108 109 …
Sotatek-TruongNguyen5 Jun 28, 2023
5a8193d
Feat: Update js test eth miscell transaction other
Sotatek-HuynhVu Jun 28, 2023
0aa479d
update unit test for klay
Jun 29, 2023
ccaaf09
update python test debug profiling
Jun 29, 2023
3e69900
update unit test for klay part 2
Jun 29, 2023
12ac327
feat:update python klay test
Sotatek-HieuTran3 Jun 29, 2023
a4c15b9
Feat: update js test net personal txpool
Sotatek-HuynhVu Jun 29, 2023
c629cbc
update unit test for debug
Jun 30, 2023
fc3e329
test: update-java-test-for-klay-rpc-121-123-127-128-129-130-131-138-1…
Jun 29, 2023
2a39694
review-test: update-java-test-for-klay-rpc-121-123-127-128-129-130-13…
Jun 29, 2023
51eb32d
review-2-test: update-java-test-for-klay-rpc-121-123-127-128-129-130-…
Jun 30, 2023
214c2a7
update python test personal
Jun 30, 2023
32420c0
update unit test for 98 99 100 164 to 168 170 to 175 180 to 184 186 1…
Sotatek-TruongNguyen5 Jun 29, 2023
f34813d
update unit test for 98 99 100 164 to 168 170 to 175 180 to 184 186 1…
Sotatek-TruongNguyen5 Jun 29, 2023
184e347
feat:update python check response type
Sotatek-HieuTran3 Jul 3, 2023
62d6a9b
update unit test for admin
Jul 3, 2023
6c7ab7e
Feat: update js test governance and klay
Sotatek-HuynhVu Jul 3, 2023
d007af2
test: update java unit test for rpc 86 88 142 224 239 240 246
Jul 3, 2023
2c68e3c
feat:upfate python apis test
Sotatek-HieuTran3 Jul 4, 2023
b9e99ba
test: update java unit test for rpc 5 27 53 72 95 96 97 124 126 132 1…
Jun 30, 2023
ee49d5e
update unit test for debug and admin
Jul 4, 2023
5ca9de9
Feat: update js test 04-07
Sotatek-HuynhVu Jul 4, 2023
4b5067d
update unit test for 16 37 101 135 145 146 154 176 185 188 203 206 20…
Sotatek-TruongNguyen5 Jul 3, 2023
fb760bd
test: update java unit test for rpc 86 88 142 224 239 240 246
Jul 3, 2023
ec81be3
test: update java unit test for rpc 87 90 94 116 122 156 161 179 212 …
Jul 4, 2023
a4e2d72
update test python admin rpc
Jul 5, 2023
3d1949b
feat:update python apis test 04 07
Sotatek-HieuTran3 Jul 5, 2023
8013e81
update unit test for debugTraceBlockByHash and klayGetFilterLogs
Jul 5, 2023
54281d3
check again api 15 54 55 57, update api 210
Sotatek-TruongNguyen5 Jul 5, 2023
e333834
test: update java unit test for rpc 169 177 178 208 209 213 215 216
Jul 5, 2023
8b7668c
Feat: update js test 05-07
Sotatek-HuynhVu Jul 5, 2023
a817145
feat update python test net debug admin
Jul 6, 2023
e274e8d
feat:update python apis test pass
Sotatek-HieuTran3 Jul 6, 2023
e03a3f1
test: update java unit teth_getFilterLogsest for RPC eth_getFilterLogs
Jul 5, 2023
3878e35
test: update java unit test for some RPC 34 124 153 91
Jul 6, 2023
109432f
Feat: update js test 06/07
Sotatek-HuynhVu Jul 6, 2023
82c07f0
update api 17 226, check again 9 56
Sotatek-TruongNguyen5 Jul 6, 2023
4e6b2f5
update api 17 226, check again 9 56
Sotatek-TruongNguyen5 Jul 6, 2023
1dfcc81
update python test eth other
Jul 7, 2023
d1623eb
feat:update python apis web3 test
Sotatek-HieuTran3 Jul 7, 2023
73fbcb9
update rpc admin_importChain, admin_exportChain, klay_getFilterChange…
Sotatek-HuyLe3 Jul 7, 2023
7eef367
test: update java unit test for some RPC 61
Jul 7, 2023
be4ca4f
update java unit tests for RPCs
Sotatek-HuyLe3 Jul 7, 2023
8c11674
update java unit tests for RPCs
Sotatek-HuyLe3 Jul 10, 2023
7294c69
test: update java unit test for some klay RPC
Jul 10, 2023
fa294da
Feat: update js test personal send account update
Sotatek-HuynhVu Jul 10, 2023
93ba8c1
feat:update python api persional 10 07
Sotatek-HieuTran3 Jul 10, 2023
7a3d945
update api personal_sendAccountUpdate, coding convention
Sotatek-TruongNguyen5 Jul 10, 2023
c6e0419
update python test
Jul 11, 2023
eca0918
update api testcase
Sotatek-TruongNguyen5 Jul 11, 2023
6d58dbd
fix: fix admin_getSpamThrottlerCandidateList response
Jul 13, 2023
02883b8
Fix: update yaml debug trace
Sotatek-HuynhVu Jul 13, 2023
cd4623e
fix: fix yaml debug trace response for some apis
Jul 13, 2023
e785860
update test admin_getSpamThrottlerCandidateList, update test after fi…
Sotatek-TruongNguyen5 Jul 13, 2023
03f0c25
fix: resolve conflict
Jul 21, 2023
1ee3af6
add PUBLISH_TO_MAVEN_PUBLIC env to handle when publishing
Sotatek-HuyLe3 Jul 21, 2023
29daf35
fix: fix java gencode
Jul 28, 2023
5342c52
Update
Sotatek-HuyLe3 Aug 1, 2023
470f5de
fix: remove 2 file mustache
Aug 1, 2023
f23ae2e
fix: comment some rpc unit test cannot generated with all-except-eth …
Aug 2, 2023
61930af
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 2, 2023
cb5e67d
fix: comment some rpc unit test cannot generated with all-except-eth …
Aug 2, 2023
1759eae
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 3, 2023
8087030
python add file env
Aug 3, 2023
c44ebd3
Merge pull request #473 from klaytn/feat/python-add-file-env
Aug 3, 2023
611ad74
Fix: add provider for javascript
Sotatek-HuynhVu Aug 3, 2023
b1a7c67
python add file env
Aug 3, 2023
5ad4b5b
update env for python
Aug 4, 2023
74d6a61
Merge pull request #474 from klaytn/feat/python-add-file-env
Aug 4, 2023
00b8a26
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 4, 2023
4ce76aa
get url from system environment variable
Calmero107 Aug 4, 2023
531fc08
Merge pull request #476 from klaytn/update_java_test_get_environment_…
Sotatek-PhucNguyen5 Aug 4, 2023
3913f4b
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 4, 2023
06a186c
Merge pull request #477 from klaytn/fix/add-provider-for-js
Sotatek-HauTran3 Aug 7, 2023
d95a47e
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 8, 2023
0fb57bb
Fix: add default value for rpc
Sotatek-HuynhVu Aug 9, 2023
a3c53e8
Merge pull request #478 from klaytn/fix/add-default-value-rpc
Sotatek-HauTran3 Aug 9, 2023
68c01d7
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 10, 2023
e38320e
Fix: update some APIs
Sotatek-HuynhVu Aug 10, 2023
3decbf2
Merge pull request #484 from klaytn/fix/update-some-API
Sotatek-HauTran3 Aug 10, 2023
2fdbe1d
Merge branch 'sotatek-dev' of https://github.com/klaytn/web3klaytn in…
Sotatek-TruongNguyen5 Aug 10, 2023
fa42137
feat:update some apis python
Sotatek-HieuTran3 Aug 11, 2023
cda3e67
Merge pull request #487 from klaytn/feat/update-some-apis-python
Aug 11, 2023
d4848f2
java: update rpc docs, code example and UT
Sotatek-HuyLe3 Aug 11, 2023
015b13c
Merge pull request #488 from klaytn/update_UT_and_code-sample_java
Sotatek-PhucNguyen5 Aug 11, 2023
2c50019
Merge pull request #488 from klaytn/update_UT_and_code-sample_java
Sotatek-PhucNguyen5 Aug 11, 2023
f80bfe3
Merge pull request #489 from klaytn/feat/update-some-apis-python
Aug 14, 2023
9cb1d4c
fix rpc name and update code-sample
Sotatek-TruongNguyen5 Aug 14, 2023
0f92df9
Merge pull request #493 from klaytn/fix_rpc_name_and_update_code-sample
Sotatek-PhucNguyen5 Aug 14, 2023
5ef4e69
Update signer.ts
nohkwak Aug 16, 2023
b98db6a
Merge pull request #494 from nohkwak/202308-signer-patch
blukat29 Aug 16, 2023
7f2f7c3
Merge branch 'dev' into sotatek-dev
Sotatek-HauTran3 Aug 20, 2023
519236b
Merge pull request #495 from klaytn/sotatek-dev-resolve-conflict
Sotatek-HauTran3 Aug 23, 2023
ef361ff
Fix: add klay recoverFromTransaction and recoverFromMessage
Sotatek-HuynhVu Aug 23, 2023
79b7a1e
Fix: Add python klay recoverFromMessage and recoverFromTransaction
PaulNguyenSotatek Aug 23, 2023
ef695c5
update UT and code-sample
Sotatek-TruongNguyen5 Aug 23, 2023
929acc7
Merge pull request #496 from klaytn/fix/add-klay_recoverFromTransacti…
Sotatek-HauTran3 Aug 24, 2023
f9a2c1a
web3js: Project init
blukat29 Aug 27, 2023
6043aa9
web3js: Add empty KlaytnTx
blukat29 Aug 27, 2023
3d88019
web3js: Add deps @klaytn/ethers-ext
blukat29 Aug 27, 2023
0b72b81
web3js: Send klaytn tx type 8
blukat29 Aug 27, 2023
b4c563b
Add package links
kjhman21 Aug 29, 2023
f32d821
Update web3j link
JayChoi1736 Aug 29, 2023
ead8bd3
web3js: Cleanup KlaytnTx fields passing
blukat29 Aug 29, 2023
1414f6b
web3js: Override eth.getProtocolVersion
blukat29 Aug 29, 2023
8340d48
web3js: Override web3.eth.sendSignedTransaction
blukat29 Aug 29, 2023
87fa8db
Merge pull request #497 from klaytn/kjhman21-patch-1
kjhman21 Aug 30, 2023
7782ad5
Merge pull request #498 from blukat29/ollie/web3js-ext-design
blukat29 Sep 1, 2023
8296df6
Check RLP in each functions
Sep 7, 2023
4d2cb15
Rename _convertTxFromRLP
Sep 7, 2023
fe61fbf
Update example
Sep 7, 2023
2ddc638
Merge pull request #501 from nohkwak/202309-AddRLPdecoding
Sep 8, 2023
a3806e5
added recoverFromTransaction/Message examples
Sep 11, 2023
1dfadf8
ethers: Fix encodeTxForRPC to separately handle 0x and 0x0
blukat29 Sep 14, 2023
ae68b79
Merge pull request #504 from klaytn/addRecoverExamples
Sep 15, 2023
dacbc7c
Merge pull request #508 from blukat29/fix-encodetxrpc
blukat29 Sep 15, 2023
4089316
version up to v0.9.4
Sep 25, 2023
61510d9
Merge pull request #512 from kjeom/version-up-to-0.9.4
Sep 25, 2023
1d805ca
Merge remote-tracking branch 'origin/main' into dev
Sep 25, 2023
3a748c8
delete test ci/cd config files
Sep 26, 2023
270ac02
Merge pull request #515 from kjeom/dev
Sep 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
120 changes: 0 additions & 120 deletions .github/workflows/publish-test.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,30 @@ jobs:
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: web3py-ext/dist

- name: generate java sdk
shell: bash
run: |
cd web3rpc/sdk/client/java && bash -x java-generate.sh && cd -
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
PUBLISH_TO_MAVEN_PUBLIC: true
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}

- name: Publish web3rpc-java package
uses: gradle/gradle-build-action@v2
with:
arguments: publish
build-root-directory: web3rpc/sdk/client/java/openapi
gradle-version: release-candidate
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
PUBLISH_TO_MAVEN_PUBLIC: true
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}

- name: Publish web3j-ext
if: steps.verify-changed-files.outputs.web3j-ext_any_changed == 'true'
uses: gradle/gradle-build-action@v2
Expand All @@ -86,6 +110,7 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
PUBLISH_TO_MAVEN_PUBLIC: true
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}

Expand Down
111 changes: 0 additions & 111 deletions .github/workflows/publish.yml.bak

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Klaytn has extended the RPC APIs over early Ethereum to allow developers to get
### extension strategies for existing web3 SDKs
The extension is focused on seamless development for web3 developers. Being able to develop web3 service from other chain without feeling differences will make the developers comfortable and more productivity. It also makes developers easy to build a service among several chains with a single SDK and same pattern. Except web3j-ext SDK for java language, what you need to do is just importing the extension with the existing SDK.

- ethers extension : **ethers-ext** (javascript)
- web3js extension : **web3js-ext** (javascript)
- web3j extension : **web3j-ext** (java)
- web3py extension : **web3py-ext** (python)
- ethers extension : **ethers-ext** (javascript) [NPM](https://www.npmjs.com/package/@klaytn/ethers-ext) [Github](https://github.com/klaytn/web3klaytn/tree/main/ethers-ext)
- web3js extension : **web3js-ext** (javascript) (TBU)
- web3j extension : **web3j-ext** (java) [MVN](https://mvnrepository.com/artifact/foundation.klaytn/web3j-ext) [Github](https://github.com/klaytn/web3klaytn/tree/main/web3j-ext)
- web3py extension : **web3py-ext** (python) [pypi](https://pypi.org/project/web3py-ext/) [Github](https://github.com/klaytn/web3klaytn/tree/main/web3py-ext)
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,16 @@ async function main() {

// sign 2
const wallet2 = new Wallet(senderAddr, senderNewPriv2, provider);
let decodedTx = wallet2.decodeTxFromRLP(txHashRLP);
console.log(decodedTx);
let ptx2 = await wallet2.populateTransaction(decodedTx);
let ptx2 = await wallet2.populateTransaction(txHashRLP);
const txHashRLP2 = await wallet2.signTransaction(ptx2);
console.log("TxHashRLP2", txHashRLP2);

// sign 3
// sign 3 & send
const wallet3 = new Wallet(senderAddr, senderNewPriv3, provider);
let decodedTx2 = wallet3.decodeTxFromRLP(txHashRLP2);
console.log(decodedTx2);
let ptx3 = await wallet3.populateTransaction(decodedTx2);
const txHashRLP3 = await wallet3.signTransaction(ptx3);
console.log("TxHashRLP3", txHashRLP3);
const res = await wallet3.sendTransaction(txHashRLP2);
console.log("transaction", res);

let decodedTx3 = wallet3.decodeTxFromRLP(txHashRLP3);
console.log(decodedTx3);

// send
const txhash = await provider.send("klay_sendRawTransaction", [txHashRLP3]);
console.log("txhash", txhash);

const rc = await provider.waitForTransaction(txhash);
const rc = await res.wait();
console.log("receipt", rc);
}

Expand Down
2 changes: 1 addition & 1 deletion ethers-ext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@klaytn/ethers-ext",
"version": "0.9.3-beta",
"version": "0.9.4-beta",
"main": "dist/src/index.js",
"files": [
"./dist",
Expand Down
56 changes: 34 additions & 22 deletions ethers-ext/src/core/klaytn_tx.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { TransactionRequest } from "@ethersproject/abstract-provider";
import { BigNumber } from "ethers";
import { hexValue, parseTransaction } from "ethers/lib/utils";
import { accessListify } from "@ethersproject/transactions";
import _ from "lodash";

import { FieldSet, FieldSetFactory } from "./field";
Expand Down Expand Up @@ -108,28 +109,39 @@ export function objectFromRLP(value: string): any {
return tx;
}

export function encodeTxForRPC(allowedKeys:string[], tx: TransactionRequest): any {
// TODO: refactoring like below
// https://github.com/ethers-io/ethers.js/blob/master/packages/providers/src.ts/json-rpc-provider.ts#L701
// return {
// from: hexlify(tx.from),
// gas: tx.gasLimit? fromnumber(tx.gasLimit) : null;
// };

const ttx: any = {};
for (const key in tx) {
if (allowedKeys.indexOf(key) != -1) {
let value = _.get(tx, key);

if (value == 0 || value === "0x0000000000000000000000000000000000000000") {
value = "0x";
} else if (typeof(value) == "number" || value instanceof BigNumber) {
// https://github.com/ethers-io/ethers.js/blob/master/packages/providers/src.ts/json-rpc-provider.ts#L701
ttx[key] = hexValue(value);
} else {
ttx[key] = value;
}
export function encodeTxForRPC(tx: TransactionRequest): any {
const formatted: any = {};

const numericFields = ["chainId", "gasLimit", "gasPrice", "type", "maxFeePerGas", "maxPriorityFeePerGas", "nonce", "value"];
_.each(numericFields, (key) => {
if (!_.has(tx, key)) {
return;
}

let value = (<any>tx)[key];
value = hexValue(BigNumber.from(value));

if (key == "gasLimit") {
formatted["gas"] = value;
} else {
formatted[key] = value;
}
});

const bytestrFields = ["from", "to", "data", "input"]
_.each(bytestrFields, (key) => {
if (!_.has(tx, key)) {
return;
}

let value = (<any>tx)[key];
value = HexStr.from(value);
formatted[key] = value;
});

if (tx.accessList) {
formatted["accessList"] = accessListify(tx.accessList);
}
return ttx;

return formatted;
}
Loading
Loading