10000 [Master] release/v1.11.0 QA Sign-off by circleci-klaytn · Pull Request #1908 · klaytn/klaytn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

[Master] release/v1.11.0 QA Sign-off #1908

Merged
merged 530 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
530 commits
Select commit Hold shift + click to select a range
46116f3
Add view to log
ian0371 Jul 24, 2023
9df7a8c
Check zero before division
ian0371 Jul 24, 2023
057572a
Fix HandleCommitted
ian0371 Jul 24, 2023
fe48b69
evm: add eip-3860(limit and meter initcode)
yoomee1313 Jul 21, 2023
0ccfb36
explicitly set isContractCreation field when calling IntrinsicGasPayl…
yoomee1313 Jul 21, 2023
7a43a3c
Update blockchain/types/tx_internal_data.go
yoomee1313 Jul 24, 2023
75f37ab
validate tx data size at txpool
yoomee1313 Jul 24, 2023
39dd600
fix wrong indentation at gasSStoreEIP2200 comment
yoomee1313 Jul 24, 2023
e13e43f
migrated from urfave/cli.v1 to urfave/cli/v2
Jul 24, 2023
72f30cd
added aliases of the each flags for the hierarchy in yaml
Jul 24, 2023
a4c7b6c
added default yaml file for the each basic node types
Jul 24, 2023
383e732
moved nodeflags.go from nodecmd to utils pkg
Jul 24, 2023
27b69f8
added testcase for loading flags from yaml
Jul 24, 2023
ae9fd22
fix lint
Jul 24, 2023
81a0e28
resolve conflict Jul 24, 2023
228dc06
Merge pull request #1691 from hyunsooda/offline-util
aidan-kwon Jul 24, 2023
0eabd93
fix lint
Jul 24, 2023
5afbed2
fix typos and homi findGenType logic
Jul 24, 2023
9bc5700
delete urfave.v1
Jul 24, 2023
6395d98
temporary removed txgen process
JayChoi1736 Jul 24, 2023
28665ae
Pass size to make
ian0371 Jul 24, 2023
3861635
testing cla
Sotatek-TinnNguyen Jul 24, 2023
9ae1580
explicitly set isContractCreate as true or false when txType is contr…
yoomee1313 Jul 24, 2023
c34ac7b
assess returns uint8
ian0371 Jul 24, 2023
f46f35f
Add nil checks
ian0371 Jul 24, 2023
23e6513
Remove return from AddCommit
ian0371 Jul 24, 2023
62bf430
Add Bitmap, LateCommits methods
ian0371 Jul 24, 2023
e4036a5
Add default threshold comment
ian0371 Jul 24, 2023
9e3edda
fix return error at intrinsicGasPayload when gas exceeds MaxUint64
yoomee1313 Jul 24, 2023
7cc54cd
Merge branch 'dev' into forceGlobalFlagToSet
Jul 24, 2023
f111eee
resolve conflict
Jul 24, 2023
ff8e6dd
delete unused lib
Jul 24, 2023
3419344
first commit for rocksdb
May 3, 2023
86b4b9b
updated rocksdb iterator
Jun 15, 2023
7242bee
updated badgerdb to return nil for error if data not found
Jul 4, 2023
5484e8d
added rocksdb testcases
Jun 15, 2023
2c374bc
added rocksdb getProperty api
Jun 19, 2023
7522545
added dump malloc stat flag
Jun 21, 2023
04050d9
added db metrics
Jul 7, 2023
4e00ac7
added rocksdb options flag
Jul 11, 2023
832eab3
added disable metric flag
Jul 13, 2023
04ac908
fixed testcases for database
Jul 13, 2023
27fede5
fixed testcases for database
Jul 14, 2023
125c735
add rocksdb build tag in order not to build rocksdb default
Jul 17, 2023
7c52e87
fixed gofmt
Jul 17, 2023
3b5ea9c
temporary build with rocksdb tag
Jul 17, 2023
ba26825
fixed testcase
Jul 17, 2023
e084660
added flag descriptions more, and disable fetcher, downloader, workde…
Jul 20, 2023
7a08fac
updated refresh currentblock logic for read-only node
Jul 21, 2023
44006ce
updated GetDBProperty api
Jul 24, 2023
fa7eea6
changed log message
Jul 24, 2023
2a95092
go.mod update
Jul 24, 2023
9810cfa
added continue when head block hash does not exist
Jul 24, 2023
05a54f1
Fix logging and comments
blukat29 Jul 25, 2023
60df92e
Increase blockchain chBlock and chQueue size
blukat29 Jul 25, 2023
e5048fe
Merge pull request #1856 from hyunsooda/staking-calculator-refactored
aidan-kwon Jul 25, 2023
b9a047e
Add CurrentBlock in backends.BlockChainForCaller
2dvorak Jul 25, 2023
d5e923b
add eth_resend API JayChoi1736 Jul 25, 2023
0e387cd
Fix TestStatePruning to simulate node restart
blukat29 Jul 25, 2023
01d7d1f
Acquire db.lock around insertPruningMark
blukat29 Jul 25, 2023
cd3de01
explicitly set isContractCreation as false when calculating intrinsic…
yoomee1313 Jul 25, 2023
5c47e92
fix linter
JayChoi1736 Jul 25, 2023
b464ee9
Merge pull request #1878 from 2dvorak/common-estimategas
aidan-kwon Jul 25, 2023
d94a86a
Merge pull request #1804 from hyunsooda/add-fork-status
aidan-kwon Jul 25, 2023
3be5e07
Add nil check for block
2dvorak Jul 25, 2023
3afee89
change version to v1.11.0
aidan-kwon Jul 25, 2023
e24351e
add TODO comments
JayChoi1736 Jul 25, 2023
859b68b
add new dockerfile for go version 1.20
Sotatek-TinnNguyen Jul 25, 2023
19cab0b
refactor file name
Sotatek-TinnNguyen Jul 25, 2023
599aa04
Merge pull request #1886 from JayChoi1736/deferfix
JayChoi1736 Jul 26, 2023
d5f9190
Merge pull request #1893 from 2dvorak/contractcaller-add-currentblock
2dvorak Jul 26, 2023
4b9963c
Add vrank nil check in acceptCommit
ian0371 Jul 26, 2023
d71af35
refactor IntrinsicGasPayload not to skip the gas addition
yoomee1313 Jul 26, 2023
0f666d4
Update the comment of CommitExt
aidan-kwon Jul 26, 2023
30fa5df
Add mining delay log
ian0371 Jul 26, 2023
c4dd22f
change from go 1.20 to go 1.20.6
Sotatek-TinnNguyen Jul 26, 2023
e14f74d
Merge pull request #1891 from ian0371/metrics-try2
aidan-kwon Jul 26, 2023
c018f99
Merge pull request #1875 from klaytn/dependabot/go_modules/google.gol…
dependabot[bot] Jul 26, 2023
75ae76d
Merge pull request #1888 from yoomee1313/eip-3860
yoomee1313 Jul 26, 2023
9e8452f
params: rename mantle to shanghaiCompatible since mantle has been pos…
yoomee1313 Jul 26, 2023
4a0d746
Update
ian0371 Jul 26, 2023
04e9ce8
Bump github.com/docker/docker from 1.13.1 to 20.10.24+incompatible
dependabot[bot] Jul 26, 2023
2890d91
config shanghaiCompatibleBlockNumber at homi-generated genesis
yoomee1313 Jul 26, 2023
a475367
use testify/assert instead of docker/pkg/testutil/assert in test files
yoomee1313 Jul 26, 2023
d33d79a
Merge pull request #1890 from yoomee1313/shanghaiCompatible-hf
aidan-kwon Jul 26, 2023
60b6fd2
Merge pull request #1897 from ian0371/mining-log
ian0371 Jul 26, 2023
5874ce2
Merge pull request #1896 from aidan-kwon/typo-commitExt
aidan-kwon Jul 26, 2023
6df9346
add EthTransactionArgs in NewTxArgs interface
JayChoi1736 Jul 26, 2023
8f67629
Merge pull request #1818 from klaytn/dependabot/go_modules/github.com…
aidan-kwon Jul 26, 2023
6852227
remove redundancy
JayChoi1736 Jul 26, 2023
351f047
Merge branch 'dev' into 230504-impl-rocksdb
aidan-kwon Jul 26, 2023
88759f5
Merge branch 'dev' into ethresend
JayChoi1736 Jul 26, 2023
f01182c
linter fix
JayChoi1736 Jul 26, 2023
1325be9
Merge pull request #1855 from jeongkyun-oh/230504-impl-rocksdb
jeongkyun-oh Jul 26, 2023
5eb2c53
Merge pull request #1871 from blukat29/trie-pruning-queue
blukat29 Jul 26, 2023
d897151
Clarify live pruning enable and disable logs
blukat29 Jul 26, 2023
aee30b1
Merge pull request #1898 from Sotatek-TinnNguyen/golang1.20
Sotatek-TinnNguyen Jul 26, 2023
66bb78f
deleted each node type yaml and added templete yaml
Jul 26, 2023
f21b224
added chaindatadir flag to command groups
Jul 26, 2023
94ddbb6
Merge branch 'klaytn:dev' into ethresend
JayChoi1736 Jul 26, 2023
d9bad34
Log live pruning retention
blukat29 Jul 26, 2023
5db6ccc
Merge branch 'dev' into forceGlobalFlagToSet
Jul 26, 2023
16858e5
Merge pull request #1894 from JayChoi1736/ethresend
JayChoi1736 Jul 26, 2023
03cf534
Merge pull request #1900 from jeongkyun-oh/230726-add-chaindataflag
jeongkyun-oh Jul 26, 2023
f483174
resolve conflict
Jul 26, 2023
be2437c
Merge pull request #1899 from blukat29/pruning-enable-log
aidan-kwon Jul 26, 2023
d5f24d5
Merge pull request from GHSA-ghr9-hwq8-5h7f
JamesBaThanh Jul 26, 2023
18c74bf
change circleci to golang1.20.6
Sotatek-TinnNguyen Jul 26, 2023
9d4a181
upgrade go lint to 1.52.0
Sotatek-TinnNguyen Jul 26, 2023
2fd9f36
resolve usage panic
Jul 26, 2023
5de7ed2
Merge branch 'dev' into forceGlobalFlagToSet
Jul 26, 2023
375e438
resolve go vet error
yoomee1313 Jul 26, 2023
8cd8331
except flags that has bug in the config_test.go until fixing
Jul 26, 2023
77a100a
make flag variables pointer since all spot using cli.Flag use the poi…
Jul 26, 2023
a8892e9
added default case for genesis.josn by homi
Jul 26, 2023
770333a
added shanghai hardfork flag in homi.yaml
Jul 26, 2023
62d2fc8
Call batch.Release in pruning accessors
blukat29 Jul 26, 2023
f1fedce
Merge pull request #1901 from Sotatek-TinnNguyen/circleci_go1.20
yoomee1313 Jul 26, 2023
ad30eda
Merge pull request #1902 from blukat29/pruning-batch-release
aidan-kwon Jul 26, 2023
1d0937b
Adjust prefunded amount of gas to match baseFee
2dvorak Jul 26, 2023
4ca223f
Enable SCA overwriting over EOA after Shanghai hardfork
aidan-kwon Jul 26, 2023
3aa9529
Support Shanghai config in klaytn-test
aidan-kwon Jul 26, 2023
b92f91f
Now it doesn't matter if the flag is before or after the argument
Jul 26, 2023
24e1067
added new flags in config_test.go
Jul 26, 2023
42c6f03
modified checking whether bool type flag is set
Jul 27, 2023
c8e45fb
Merge pull request #1903 from 2dvorak/fix-gas-prefund
2dvorak Jul 27, 2023
b572e94
enhance comments
aidan-kwon Jul 27, 2023
e823285
Merge pull request #1904 from aidan-kwon/230726-shanghai-SCA
aidan-kwon Jul 27, 2023
56c0fbd
Merge pull request #1684 from kjeom/forceGlobalFlagToSet
Jul 27, 2023
87bf3e2
added UnsafeDebugDisableFlag and RPCGlobalEVMTimeoutFlag
Jul 27, 2023
1c8c107
Merge pull request #1905 from kjeom/addMissedFlags
Jul 27, 2023
2ae561f
Merge pull request #1895 from aidan-kwon/version-v1.11.0
aidan-kwon Jul 27, 2023
5b4e8f0
build: fix sed circleci failure when machine is darwin
yoomee1313 Jul 27, 2023
fd634fc
Merge pull request #1906 from yoomee1313/fix-circleci-failure-when-da…
yoomee1313 Jul 27, 2023
bc54064
build: install awscli at circleci darwin machine
yoomee1313 Jul 27, 2023
3205546
Merge pull request #1907 from yoomee1313/install-awscli-darwin
aidan-kwon Jul 27, 2023
60a181c
Fix TestAccountListEmpty
blukat29 Jul 28, 2023
8776735
Fix TestConsoleWelcome
blukat29 Jul 28, 2023
bb51623
added IsContainedKey() for the composite AccountKey type, which can c…
Jul 28, 2023
973c1f6
extended to be able to EcRecover the prefix : x19Ethereum signed message
Jul 28, 2023
6ad97fe
added recoverTransaction and recoverMessage APIs that is aware of com…
Jul 28, 2023
6fe9da3
Replace IsSet(BoolFlag) with Bool(BoolFlag)
blukat29 Jul 28, 2023
fac2469
fix lint
Jul 28, 2023
1929acc
Revert TestAccountListEmpty to dev version
blukat29 Jul 31, 2023
e8effc5
added chaindatadir flag to flaggroup
Jul 31, 2023
99aaa91
added missing rocksdb configuration
Jul 31, 2023
1a6e084
Merge pull request #1909 from blukat29/20230728-fix-nodecmd-tests
blukat29 Jul 31, 2023
5168145
Merge pull request #1910 from blukat29/flags-isset-bool
blukat29 Jul 31, 2023
5b3d593
Add comments
blukat29 Jul 31, 2023
ae11b1a
Add missing it.Release in ReadPruningMarks
blukat29 Jul 31, 2023
b7c8eda
Early return pruneTrieNodeLoop when pruning disabled
blukat29 Jul 31, 2023
3e33b96
Merge pull request #1912 from jeongkyun-oh/230731-missing-chaindatadi…
jeongkyun-oh Jul 31, 2023
073d5aa
introduced snapshot flag group
Jul 31, 2023
33972ad
Enable live pruning in archive mode too
blukat29 Jul 31, 2023
002ffc5
added ValidateMember() function instead of IsContainedPubkey
Jul 31, 2023
9243fae
Merge pull request #1914 from blukat29/20230731-pruning-fix
blukat29 Jul 31, 2023
0a7e185
fix comments
Aug 1, 2023
f6833f5
Merge pull request #1913 from jeongkyun-oh/230731-missing-rocksdb-config
jeongkyun-oh Aug 1, 2023
fea3160
[Client] Potential nil-derefence fixed
hyunsooda Aug 2, 2023
616346a
Merge branch 'dev' of github.com:klaytn/klaytn into klay-client-api-o…
hyunsooda Aug 2, 2023
a0f6409
Disable state migration when live pruning is enabled
blukat29 Aug 2, 2023
980d6c9
Always start pruneTrieNodeLoop
blukat29 Aug 2, 2023
644a153
Merge pull request #1916 from blukat29/pruning-disable-migration
blukat29 Aug 3, 2023
1a82ad1
fixed iterator memory leak & sharded db config
Aug 1, 2023
c1ff709
Add missing ampersands
ian0371 Aug 3, 2023
7c0a962
Rename memory flag
ian0371 Aug 3, 2023
132b3f7
Revert "Rename memory flag"
ian0371 Aug 4, 2023
886055e
Rename flag memory -> malloc
ian0371 Aug 4, 2023
d89f559
Fix vrank metrics and update timing
hyeonLewis Aug 4, 2023
1300612
add executiontimeout in http server
JayChoi1736 Aug 4, 2023
20c3efd
Change variable name to arrivalTime
hyeonLewis Aug 4, 2023
ef507bc
Assign first commit in HandleCommitted
hyeonLewis Aug 4, 2023
4e36223
Fix CheckExclusive args
ian0371 Aug 4, 2023
4888b75
Merge pull request #1917 from ian0371/homi-flag-minor-fix
aidan-kwon Aug 4, 2023
fba0b15
return error when signature validation failed
Aug 4, 2023
dac451f
Merge pull request #1921 from JayChoi1736/executetimeout
JayChoi1736 Aug 7, 2023
7e42267
Merge pull request #1919 from hyeonLewis/fix-vrank-metrics
Aug 7, 2023
2ce2517
added flags to limit opened max files, and to use cache for index and
Aug 2, 2023
a10a947
added warn log for minmum setting
Aug 4, 2023
f29addc
removed unlimited max open files
Aug 7, 2023
8cb63b1
Revert "Replace Kip103ContractCaller by BlockchainContractCaller"
blukat29 Aug 7, 2023
8c4ebcd
Merge pull request #1918 from jeongkyun-oh/230801-fix-memory-leak
jeongkyun-oh Aug 7, 2023
5f666ff
renamed recover functions
Aug 7, 2023
4504a74
bugfix: blockNumber parameter when getting signer
Aug 7, 2023
37a61ff
tracer: introduce heavy debug api limiter and limit state regeneratio…
yoomee1313 Aug 7, 2023
b146e9a
fix comment
Aug 7, 2023
85e0225
build: use custom ubuntu18.04 docker image for packaging linux
yoomee1313 Aug 7, 2023
251b032
Merge pull request #1923 from blukat29/revert-kip103-common-caller
blukat29 Aug 8, 2023
e9eb6bc
process latest or pending block number
Aug 8, 2023
09bcaf5
process latest or pending block number
Aug 8, 2023
a606983
Merge pull request #1915 from hyunsooda/klay-client-api-oob-fix
hyunsooda Aug 8, 2023
16dc48c
follow the flag naming rule
yoomee1313 Aug 8, 2023
ff1e910
downgrade ci to ubuntu 18 and add new dockerfile
Sotatek-TinnNguyen Aug 8, 2023
e64713e
change environment of test-executor to ubuntu20 base
Sotatek-TinnNguyen Aug 8, 2023
bfdc077
Merge pull request #1920 from yoomee1313/api/set-traceapi-unsafe
yoomee1313 Aug 8, 2023
04fcdb6
[Test] Removed unused parameter
hyunsooda Aug 8, 2023
1a1ba9d
[Bind] Added parameter sanitization
hyunsooda Aug 8, 2023
258fbba
bugfix: make TextMarshalerFlag to be able to cast to DocGenerationFlag
Aug 8, 2023
8e9b1bf
delete help printer
Aug 8, 2023
f58d5a8
add a category to flags
Aug 8, 2023
c4e40f5
added missed flags to FlagGroups
Aug 8, 2023
b1617f6
Merge pull request #1911 from kjeom/verifyTransactionSender
Aug 8, 2023
286480c
Merge branch 'dev' into prettyHelpPrinter
Aug 8, 2023
f5c99f9
fix lint
Aug 8, 2023
08ff917
Merge branch 'prettyHelpPrinter' of github.com:kjeom/klaytn into pret…
Aug 8, 2023
7b5d87c
fix lint
Aug 8, 2023
9a84e8d
[Client] If error is found, returns error earily so that runtime erorr
hyunsooda Aug 8, 2023
1c12b62
print all flag aliases
Aug 8, 2023
2322bc8
fix testing phase
Sotatek-TinnNguyen Aug 8, 2023
513af05
Merge pull request #1930 from hyunsooda/bind-param-check
aidan-kwon Aug 8, 2023
1c39e62
Merge pull request #1929 from hyunsooda/removed-unused-param
aidan-kwon Aug 8, 2023
fc5358a
remove duplicated flags in flagGroup
Aug 8, 2023
55ae4e3
[] Useless condition removed
hyunsooda Aug 9, 2023
fc11bcc
Merge pull request #1931 from kjeom/prettyHelpPrinter
Aug 9, 2023
eb4f305
rearrage cooltime
JayChoi1736 Aug 9, 2023
fd8af0c
Merge branch 'klaytn:dev' into fixTestClientReconnect
JayChoi1736 Aug 9, 2023
ca24ab3
add fix option for lint
Sotatek-TinnNguyen Aug 9, 2023
0a2ee16
bugfix: recoverFromMessage always returns klayEcRecover
Aug 9, 2023
3391bc4
Bump github.com/supranational/blst from 0.3.10 to 0.3.11
dependabot[bot] Aug 9, 2023
d4fbec0
Set a blocknumber of Baobab ShanghaiCompatible Hardfork
aidan-kwon Aug 10, 2023
e918a9b
Merge pull request #1938 from klaytn/dependabot/go_modules/github.com…
blukat29 Aug 10, 2023
41a51bc
fix ci grammar to use docker image at packaging-linux-baobab
yoomee1313 Aug 10, 2023
9155bd1
Merge pull request #1935 from JayChoi1736/fixTestClientReconnect
JayChoi1736 Aug 10, 2023
6831a61
change image base of build to klaytn/build_base
Sotatek-TinnNguyen Aug 10, 2023
73de08e
Merge branch 'build/downgrade-ubuntu-image' of github.com:yoomee1313/…
Sotatek-TinnNguyen Aug 10, 2023
a0c417d
fix typo in circlecI
Sotatek-TinnNguyen Aug 10, 2023
f3c51f1
fix typo in circlecI
Sotatek-TinnNguyen Aug 10, 2023
337c7d1
add --fix option in lint
Sotatek-TinnNguyen Aug 10, 2023
12f0681
refactor return stmt
Aug 10, 2023
cb26a0f
added handling klay and eth ecrecover error
Aug 10, 2023
d10a9ee
build: use custom ubuntu18.04 docker image for packaging linux
yoomee1313 Aug 7, 2023
5056714
downgrade ci to ubuntu 18 and add new dockerfile
Sotatek-TinnNguyen Aug 8, 2023
1571a29
change environment of test-executor to ubuntu20 base
Sotatek-TinnNguyen Aug 8, 2023
bfc4cb3
fix testing phase
Sotatek-TinnNguyen Aug 8, 2023
fa5f4a4
add fix option for lint
Sotatek-TinnNguyen Aug 9, 2023
5e15832
change image base of build to klaytn/build_base
Sotatek-TinnNguyen Aug 10, 2023
e772e86
fix ci grammar to use docker image at packaging-linux-baobab
yoomee1313 Aug 10, 2023
41e35f7
fix typo in circlecI
Sotatek-TinnNguyen Aug 10, 2023
b41d824
revert 'build' job linter version from 1.52.0 to 1.24.0
yoomee1313 Aug 10, 2023
a295c2c
merge docker file
Sotatek-TinnNguyen Aug 10, 2023
8c64796
Merge branch 'build/downgrade-ubuntu-image' of github.com:yoomee1313/…
Sotatek-TinnNguyen Aug 10, 2023
f5e1c66
merge docker file
Sotatek-TinnNguyen Aug 10, 2023
43b3482
Merge pull request #1932 from hyunsooda/client-transactioninblock-mis…
aidan-kwon Aug 10, 2023
b64d889
Merge pull request #1939 from aidan-kwon/230810-ShanghaiHFBlock
aidan-kwon Aug 10, 2023
79ecdcf
remove lint fix
Sotatek-TinnNguyen Aug 10, 2023
ba1d3ab
added comment in recoverFromMessage to be clear
Aug 10, 2023
9b66020
Merge pull request #1937 from kjeom/bugfix-recoverFromMessage
Aug 10, 2023
95fd212
Merge pull request #1925 from yoomee1313/build/downgrade-ubuntu-image
aidan-kwon Aug 10, 2023
ebe6b94
build: fix run-rpc command
yoomee1313 Aug 10, 2023
6a91f0e
Merge pull request #1940 from yoomee1313/build/fix-rpc-tester
yoomee1313 Aug 11, 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
  •  
  •  
  •  
132 changes: 84 additions & 48 deletions .circleci/config.yml
< 10000 /tr>
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ executors:
test-executor:
working_directory: /go/src/github.com/klaytn/klaytn
docker:
- image: klaytn/build_base:1.2-go.1.18-solc0.8.13
- image: klaytn/build_base:1.2-ubuntu18.04-go.1.20.6-solc0.8.13
test-others-executor:
working_directory: /go/src/github.com/klaytn/klaytn
docker:
- image: klaytn/build_base:1.2-go.1.18-solc0.8.13
- image: klaytn/build_base:1.2-ubuntu18.04-go.1.20.6-solc0.8.13
- image: localstack/localstack:0.13.0
- image: circleci/redis:6.0.8-alpine
- name: zookeeper
Expand All @@ -42,11 +42,11 @@ executors:
rpm-executor:
working_directory: /go/src/github.com/klaytn/klaytn
docker:
- image: klaytn/circleci-rpmbuild:1.18
- image: klaytn/circleci-rpmbuild:1.20.6
default:
working_directory: ~/go/src/github.com/klaytn/klaytn
docker:
- image: cimg/go:1.18
- image: cimg/go:1.20.6

commands:
install-netcat:
Expand All @@ -56,33 +56,52 @@ commands:
command: |
apt install -y netcat
install-golang:
parameters:
os-network:
type: string
default: "linux-amd64"
steps:
- run:
name: "Install golang on machine"
command: |
curl -O https://dl.google.com/go/go1.20.6.<< parameters.os-network >>.tar.gz
mkdir $HOME/go1.20.6
tar -C $HOME/go1.20.6 -xzf go1.20.6.<< parameters.os-network >>.tar.gz
install-awscli:
steps:
- run:
name: "Install awscli on macos machine"
command: |
curl -O https://dl.google.com/go/go1.18.linux-amd64.tar.gz
mkdir $HOME/go1.18
tar -C $HOME/go1.18 -xzf go1.18.linux-amd64.tar.gz
brew install awscli
install-golangci-lint:
steps:
- run:
name: "Install golangci-lint"
command: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
pre-build:
description: "before build, set version"
parameters:
os-network:
type: string
default: "linux-amd64"
steps:
- run:
name: "set variables"
command: |
export GOPATH=~/go
export PATH=$HOME/go1.18/go/bin:$PATH
export PATH=$HOME/go1.20.6/go/bin:$PATH
pat="^v[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+.*"

if [[ $CIRCLE_TAG =~ $pat ]]; then
echo "this is rc version $CIRCLE_TAG"
rc_num=$(echo $CIRCLE_TAG | cut -d '-' -f 2)
sed -i 's/%d.%d.%d/%d.%d.%d~'$rc_num'/' params/version.go
if [[ << parameters.os-network >> =~ .*"darwin".* ]]; then
sed -i '' 's/%d.%d.%d/%d.%d.%d~'$rc_num'/' params/version.go
else
sed -i 's/%d.%d.%d/%d.%d.%d~'$rc_num'/' params/version.go
fi

sed -n '/%d.%d.%d/p' params/version.go
else
echo "this is not RC version"
Expand All @@ -93,14 +112,20 @@ commands:
parameters:
os-network:
type: string
default: "tar-linux-amd64-all"
default: "linux-amd64"
baobab:
type: string
default: ""
steps:
- run:
name: "build new(Cross compile)"
name: "build and packaging"
command: |
export GOPATH=~/go
export PATH=$HOME/go1.18/go/bin:$PATH
make << parameters.os-network >>
export PATH=$HOME/go1.20.6/go/bin:$PATH
make all
for item in kcn kpn ken kscn kspn ksen kbn kgen homi; do
./build/package-tar.sh << parameters.baobab >> << parameters.os-network >> $item
done
upload-repo:
description: "upload packaging tar.gz"
parameters:
Expand All @@ -112,23 +137,25 @@ commands:
name: "upload S3 repo"
command: |
export GOPATH=~/go
export PATH=$HOME/go1.18/go/bin:$PATH
export PATH=$HOME/go1.20.6/go/bin:$PATH
KLAYTN_VERSION=$(go run build/rpm/main.go version)
for item in << parameters.item >>; do aws s3 cp packages/${item}-*.tar.gz s3://$FRONTEND_BUCKET/packages/klaytn/$KLAYTN_VERSION/; done
rpm-tagging:
description: "rpm tagging for cypress"
steps:
- run:
name: "rpm tagging"
command: make rpm-all
command: |
for item in kcn kpn ken kscn kspn ksen kbn kgen homi; do
./build/package-rpm.sh $item
done
- run:
name: "upload S3 repo"
command: |
PLATFORM_SUFFIX=$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)
KLAYTN_VERSION=$(go run build/rpm/main.go version)

for item in kcn kpn ken kscn kspn ksen kbn kgen homi;
do
for item in kcn kpn ken kscn kspn ksen kbn kgen homi; do
TARGET_RPM=$(find $item-linux-x86_64/rpmbuild/RPMS/x86_64/ | awk -v pat="$item(d)?-v" '$0~pat')
aws s3 cp $TARGET_RPM s3://$FRONTEND_BUCKET/packages/rhel/7/prod/
aws s3 cp $TARGET_RPM s3://$FRONTEND_BUCKET/packages/klaytn/$KLAYTN_VERSION/
Expand All @@ -139,15 +166,13 @@ commands:
- run:
name: "rpm tagging baobab"
command: |
make rpm-baobab-kcn
make rpm-baobab-kpn
make rpm-baobab-ken
for item in kcn kpn ken; do
./build/package-rpm.sh -b $item
done
- run:
name: "upload S3 repo"
command: |
for item in kcn kpn ken;
do
PLATFORM_SUFFIX=$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)
for item in kcn kpn ken; do
TARGET_RPM=$(find $item-linux-x86_64/rpmbuild/RPMS/x86_64/ | awk -v pat="$item(d)?-baobab-v" '$0~pat')
aws s3 cp $TARGET_RPM s3://$FRONTEND_BUCKET/packages/rhel/7/prod/
aws s3 cp $TARGET_RPM s3://$FRONTEND_BUCKET/packages/klaytn/$KLAYTN_VERSION/
Expand Down Expand Up @@ -304,29 +329,33 @@ commands:
cd script
./set_CNonly.sh
cd ..
pip3 install -r requirements.txt
cp config_template.json config.json
apt install python3.8 python3-venv -y
python3.8 -m venv --without-pip venv
source venv/bin/activate
curl https://bootstrap.pypa.io/get-pip.py | python
pip3 install -r requirements.txt
python3 main.py --protocol rpc
jobs:
build:
machine:
image: ubuntu-2004:202201-02
docker:
- image: klaytn/build_base:1.2-ubuntu18.04-go.1.20.6-solc0.8.13
working_directory: ~/go/src/github.com/klaytn/klaytn
steps:
- checkout
- install-golangci-lint
- install-golang
- pre-build
- run:
name: "Build"
command: |
export PATH=$HOME/go1.18/go/bin:$PATH
export PATH=$HOME/go1.20.6/go/bin:$PATH
make fmt
make all

test-linter:
executor: test-executor
steps:
- install-golangci-lint
- checkout
- run:
name: "Run golangci-lint"
Expand Down Expand Up @@ -446,7 +475,7 @@ jobs:
- notify-success
- store_artifacts:
path: /tmp/linter_reports

rpc-tester-report:
executor: test-executor
steps:
Expand All @@ -458,8 +487,8 @@ jobs:
- notify-success

packaging-linux:
machine:
image: ubuntu-2004:202201-02
docker:
- image: klaytn/build_base:1.2-ubuntu18.04-go.1.20.6-solc0.8.13
resource_class: large
working_directory: ~/go/src/github.com/klaytn/klaytn
steps:
Expand All @@ -470,43 +499,50 @@ jobs:
- upload-repo

packaging-linux-baobab:
machine:
image: ubuntu-2004:202201-02
docker:
- image: klaytn/build_base:1.2-ubuntu18.04-go.1.20.6-solc0.8.13
resource_class: large
working_directory: ~/go/src/github.com/klaytn/klaytn
steps:
- checkout
- install-golang
- pre-build
- build-packaging:
os-network: "tar-baobab-linux-amd64-all"
baobab: "-b"
- upload-repo:
item: "kcn kpn ken"

packaging-darwin:
machine:
image: ubuntu-2004:202201-02
resource_class: large
macos:
xcode: 14.2.0
resource_class: macos.x86.medium.gen2
working_directory: ~/go/src/github.com/klaytn/klaytn
steps:
- checkout
- install-golang
- pre-build
- install-awscli
- install-golang:
os-network: "darwin-amd64"
- pre-build:
os-network: "darwin-amd64"
- build-packaging:
os-network: "tar-darwin-amd64-all"
os-network: "darwin-amd64"
- upload-repo

packaging-darwin-baobab:
machine:
image: ubuntu-2004:202201-02
resource_class: large
macos:
xcode: 14.2.0
resource_class: macos.x86.medium.gen2
working_directory: ~/go/src/github.com/klaytn/klaytn
steps:
- checkout
- install-golang
- pre-build
- install-awscli
- install-golang:
os-network: "darwin-amd64"
- pre-build:
os-network: "darwin-amd64"
- build-packaging:
os-network: "tar-baobab-darwin-amd64-all"
os-network: "darwin-amd64"
baobab: "-b"
- upload-repo:
item: "kcn kpn ken"

Expand Down Expand Up @@ -703,7 +739,7 @@ workflows:
only: dev
jobs:
- linters

nightly-rpc:
triggers:
- schedule:
Expand Down
34 changes: 17 additions & 17 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
#* @global-owner1 @global-owner2
* @aidan-kwon @kjhman21 @blukat29 @kjeom
* @aidan-kwon @blukat29 @kjeom

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
Expand Down Expand Up @@ -36,23 +36,23 @@
# In this example, @doctocat owns any file in the `/docs`
# directory in the root of your repository.
#/docs/ @doctocat
/api/ @kjeom @jimni1222 @henry-will @nohkwak
/blockchain/ @blukat29 @kjeom @ian0371 @yoomee1313
/api/ @kjeom @nohkwak @toniya-klaytn
/blockchain/ @blukat29 @kjeom @ian0371
/build/ @blukat29 @hyunsooda @2dvorak
/client/ @kjeom @jimni1222 @henry-will @nohkwak
/cmd/ @kjeom @aidan-kwon @kjhman21 @ian0371
/consensus/ @aidan-kwon @kjhman21 @jiseongnoh @mckim19
/console/ @kjeom @jimni1222 @henry-will @nohkwak
/contracts/ @blukat29 @hyunsooda @2dvorak @ian0371
/crypto/ @blukat29 @jiseongnoh @mckim19
/datasync/ @ethan-kr @jeongkyun-oh
/db_migration/ @ethan-kr @jeongkyun-oh
/event/ @kjeom @JayChoi1736
/governance/ @blukat29 @aidan-kwon @kjhman21 @ian0371
/client/ @hyunsooda @kjeom @nohkwak
/cmd/ @kjeom @ian0371
/consensus/ @aidan-kwon @jiseongnoh @yoomee1313
/console/ @kjeom @nohkwak @JayChoi1736
/contracts/ @ian0371 @hyunsooda @2dvorak
/crypto/ @blukat29 @aidan-kwon @jiseongnoh
/datasync/ @aidan-kwon @ethan-kr @jeongkyun-oh
/db_migration/ @ethan-kr @jeongkyun-oh @yoomee1313
/event/ @kjeom @JayChoi1736 @nohkwak
/governance/ @blukat29 @ian0371 @yoomee1313
/networks/ @kjeom @JayChoi1736 @yoomee1313
/node/ @blukat29 @hyunsooda @2dvorak
/reward/ @blukat29 @ian0371
/rlp/ @kjeom @JayChoi1736
/snapshot/ @ethan-kr @jeongkyun-oh
/storage/ @ethan-kr @jeongkyun-oh
/work/ @blukat29 @aidan-kwon @kjhman21 @yoomee1313
/rlp/ @kjeom @JayChoi1736 @nohkwak
/snapshot/ @ethan-kr @jeongkyun-oh @yoomee1313
/storage/ @aidan-kwon @ethan-kr @jeongkyun-oh
/work/ @blukat29 @yoomee1313
Loading
0