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

Experiment crypto funcs in sdk #8

Merged
merged 334 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
f45eab9
feat:rename and cr.
ssun0121 Apr 1, 2024
78ef164
feat: change CodeCheckProposalExpirationTime
louis4li Apr 1, 2024
f359480
feat:cr and add view method.
ssun0121 Apr 1, 2024
a74872b
feat:rename.
ssun0121 Apr 2, 2024
2c6df2a
Update abp and .net version
eanzhao Apr 2, 2024
160bed1
feat: get fees while filtering Empty objects
louis4li Apr 3, 2024
79c0c40
For stress testing.
eanzhao Apr 7, 2024
4240528
Merge .net 8 upgrade
eanzhao Apr 7, 2024
0ad656b
feat: update DefaultCodeCheckProposalExpirationTimePeriod
louis4li Apr 8, 2024
517c88e
feat: update ut
louis4li Apr 8, 2024
91cd095
feat:update UserContractMethodFeeKey
louis4li Apr 9, 2024
b8ba38b
Utilize Configuration Contract to store mining time and disabled feat…
eanzhao Apr 9, 2024
66becb9
Commit test case for feature disable service.
eanzhao Apr 10, 2024
53778ba
Improve CodeCheckJobProcessor.SendAsync
eanzhao Apr 10, 2024
c79229a
Do not create new buffer block after sending failure.
eanzhao Apr 11, 2024
ec5d62b
feat: add input check
louis4li Apr 15, 2024
11ed7c4
Improve configuration & fix test cases
eanzhao Apr 16, 2024
b95310a
Add MatchCollection & Match to code check white list.
eanzhao Apr 28, 2024
e8b6957
Add MigrateConnectorTokens method to Token Converter contract.
eanzhao Apr 28, 2024
72d9b2a
Add test cases for MigrateConnectorTokens and tune method impl.
eanzhao Apr 28, 2024
a791b2f
Now MigrateConnectorTokens method cannot execute more than once.
eanzhao Apr 28, 2024
9c8178c
Resolve conflicts.
eanzhao May 9, 2024
d45856b
Add SymbolAliasDeleted event and try not use System.Text.Json and Regex
eanzhao Apr 30, 2024
d06e229
Detect token alias setting during token creation.
eanzhao May 7, 2024
851b650
Now the token alias can only be set once.
eanzhao May 7, 2024
2594eb2
Bug fix: validations on token creation
eanzhao May 7, 2024
40cd8b9
Fix CheckTokenAlias in case of collectionSymbol is null.
eanzhao May 7, 2024
f98978a
Tune Transfer, TransferFrom, Approve, UnApprove methods to adopt toke…
eanzhao May 8, 2024
b0d521c
Fix SetTokenAlias
eanzhao May 9, 2024
ac07be0
Fix an error message.
eanzhao May 9, 2024
9f963e7
Add method: GetSymbolByAlias
eanzhao May 8, 2024
34b8a06
Fix ExtractAliasSetting
eanzhao May 9, 2024
cc5f3e3
Now collection symbol can also set alias.
eanzhao May 9, 2024
4583f32
Bug fix: GetBalance & GetAllowance for not existing token failed to r…
eanzhao May 8, 2024
b7d66f2
Improve GetNftCollectionSymbol
eanzhao May 9, 2024
0472251
Merge dev.
eanzhao May 9, 2024
321025d
Merge branch feature/token-symbol-alias
eanzhao May 9, 2024
eaff5fb
GetCreateInputSymbolType -> GetSymbolType
eanzhao May 9, 2024
1edf067
Fix Approve and one test case.
eanzhao May 9, 2024
b082847
Fix BatchApprove and add a test case: BatchApproveWithAlias_Test
eanzhao May 9, 2024
e448443
Change permission setting for SetSymbolAlias.
eanzhao May 10, 2024
04324e1
Fix CrossChainCreateToken
eanzhao May 10, 2024
469f163
Won't fire TokenCreated event on side chain if only changed external …
eanzhao May 10, 2024
f2152fa
Fix CrossChainCreateToken
eanzhao May 10, 2024
1e542c7
Simplify SyncSymbolAliasFromTokenInfo
eanzhao May 10, 2024
6035cbb
Fix SyncSymbolAliasFromTokenInfo
eanzhao May 10, 2024
797d93f
Merge branch 'dev' of aelf:AElfProject/AElf into feature/2.0.0-invali…
eanzhao May 17, 2024
bf9b403
Merge branch 'dev' into feature/token-symbol-format-Extension
jason-aelf May 19, 2024
e3fcda3
Fix the regex pattern of IsValidSymbol
eanzhao May 20, 2024
e62d3f5
Merge branch 'feature/token-symbol-format-Extension' of aelf:AElfProj…
eanzhao May 20, 2024
5ba1de8
feat:add charging address.
ssun0121 Nov 23, 2023
a236cb9
feat:change type to string.
ssun0121 Nov 24, 2023
a42af1c
feat:change output structure.
ssun0121 Nov 27, 2023
ac5937a
feat:Modifying the description.
ssun0121 Nov 28, 2023
2c5e90e
feat:change output property.
ssun0121 Nov 28, 2023
76ebad2
test:add test.
ssun0121 Nov 28, 2023
d00e5f3
Throw exception StateKeyOverSizeException if the length of state key …
eanzhao May 20, 2024
67a6d02
Tune StateKeyMaximumLength
eanzhao May 20, 2024
c619c66
Fix TestMappedStateSizeLimit
eanzhao May 21, 2024
3acd9e4
Merge pull request #3545 from AElfProject/fix/code-check-validate
eanzhao May 21, 2024
fbd0ec2
Merge branch 'dev' into feature/change-code-check-proposal-expiration…
eanzhao May 21, 2024
e755d95
Merge branch 'dev' into feature/invalid-tx-result
eanzhao May 21, 2024
e176826
Merge pull request #3546 from AElfProject/feature/change-code-check-p…
eanzhao May 21, 2024
01d9c25
Merge branch 'dev' into feature/token-symbol-format-Extension
eanzhao May 21, 2024
aee67e4
Merge branch 'feature/token-converter-connector' of aelf:AElfProject/…
eanzhao May 21, 2024
9539c42
Resolve conflicts on Token Contract.
eanzhao May 21, 2024
b080ea8
Merge branch 'feature/invalid-tx-result' of aelf:AElfProject/AElf int…
eanzhao May 21, 2024
bcf1c73
Merge branch 'feature/optimize-fee-interface' of aelf:AElfProject/AEl…
eanzhao May 21, 2024
99438ea
Merge branch 'feature/state-key-length-limit' of aelf:AElfProject/AEl…
eanzhao May 21, 2024
fbd9620
Fix test case: CompareConsumptions
eanzhao May 21, 2024
8f91a6a
Fix CompareConsumptions test
eanzhao May 21, 2024
ac586ae
Merge branch 'feature/optimize-fee-interface' of aelf:AElfProject/AEl…
eanzhao May 21, 2024
2d10a3b
Merge pull request #3548 from AElfProject/feature/token-symbol-format…
eanzhao May 21, 2024
42b5f6f
Merge branch 'dev' into feature/token-converter-connector
eanzhao May 21, 2024
e67aeca
Merge pull request #3553 from AElfProject/feature/token-converter-con…
eanzhao May 21, 2024
9e68456
Merge branch 'dev' into feature/invalid-tx-result
eanzhao May 21, 2024
a40cb23
Resolve conflicts with dev on Token Contract
eanzhao May 21, 2024
0d78fc6
Merge pull request #3555 from AElfProject/feature/multi-approve-and-a…
eanzhao May 21, 2024
eb9aac5
Merge branch 'dev' into feature/invalid-tx-result
eanzhao May 21, 2024
fb8319c
Merge branch 'dev' into feature/optimize-fee-interface
eanzhao May 21, 2024
c2f2e7f
Merge pull request #3557 from AElfProject/feature/invalid-tx-result
eanzhao May 21, 2024
b77faac
Merge branch 'dev' into feature/optimize-fee-interface
eanzhao May 21, 2024
9ff35c0
Merge pull request #3558 from AElfProject/feature/optimize-fee-interface
eanzhao May 21, 2024
2b1cde6
Merge branch 'dev' into feature/state-key-length-limit
eanzhao May 21, 2024
c74f23e
Merge pull request #3560 from AElfProject/feature/state-key-length-limit
eanzhao May 21, 2024
a7c0637
Merge branch 'dev' of aelf:AElfProject/AElf into release/1.9.0
eanzhao May 21, 2024
3806c18
Merge pull request #3562 from AElfProject/release/1.9.0
JimAelf May 23, 2024
9e1b77a
fix .net version of feature disable test project.
eanzhao May 23, 2024
7f454eb
Merge feature/performance-tuning
eanzhao May 23, 2024
2939c92
fix .net version
eanzhao May 23, 2024
e64d004
Increase ExecutiveClearLimit from 10 to 50
David20240718 May 28, 2024
8993c67
Fix framework version.
eanzhao May 28, 2024
62d7e10
Re-impl CryptoHelper's EncryptMessage & DecryptMessage method via Bou…
eanzhao Jun 17, 2024
9babdd0
Won't perform secret sharing if it is not enabled
eanzhao Jun 18, 2024
d8833b2
Parallelize the generation of system transactions while reducing coll…
chopin-fan Jun 24, 2024
e337b4e
Add title and description filed to proposals.
eanzhao Jun 24, 2024
b37568d
Add limit to the length of title and description of proposals.
eanzhao Jun 25, 2024
0f43a56
txList(1000) -> txList(500)
chopin-fan Jun 25, 2024
54bf23d
The default value of 'limit' is set to 500.
chopin-fan Jun 25, 2024
b4c3452
Adjust mining time.
chopin-fan Jun 25, 2024
becd6c4
Adjust mining time to 90/100
chopin-fan Jun 25, 2024
decdc9b
Adjust limit to 300.
chopin-fan Jun 25, 2024
34e93e6
Adjust limit to 250
chopin-fan Jun 25, 2024
e02cb23
Reset strategyBase.
chopin-fan Jun 26, 2024
baa5178
update issue template
JimAelf Jun 26, 2024
612468d
Add a SonarQube configuration file to implement static code analysis.
chopin-fan Jun 27, 2024
8010f68
To clarify the specific project to be built.
chopin-fan Jun 27, 2024
98846f2
Add protobuf in sonarqube.yaml
chopin-fan Jun 27, 2024
784bcb5
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
66de35c
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
6b701bf
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
54d980e
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
9f3b276
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
4006f5b
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
6540d8f
Change dotnet-version to 6.
chopin-fan Jun 27, 2024
b41e056
dotnet-version: '6.0' -> dotnet-version: '7.0'
chopin-fan Jun 27, 2024
39d6aa1
Change the version of Protobuf to 3.19.4
chopin-fan Jun 27, 2024
1b650b1
feat:add a benchmark github action.
David20240718 Jun 27, 2024
9ab3a99
feat:add comments to enhance code readability
David20240718 Jun 27, 2024
943e304
Merge pull request #3573 from AElfProject/feature/add-sonarqube-workflow
chopin-fan Jun 27, 2024
7c7a0a6
Merge branch 'dev' into feature/add-comments
David20240718 Jun 27, 2024
d766999
Merge pull request #3578 from AElfProject/feature/add-comments
David20240718 Jun 27, 2024
ac62f13
Merge branch 'master' into release/2.0.1
chopin-fan Jun 27, 2024
9cb1ab3
Merge branch 'master' into release/1.9.1
David20240718 Jun 28, 2024
0a8805b
Merge pull request #3580 from AElfProject/release/2.0.1
JimAelf Jun 28, 2024
17e92d0
Merge branch 'master' into release/1.9.1
David20240718 Jun 28, 2024
1f29cab
Merge pull request #3581 from AElfProject/release/1.9.1
JimAelf Jun 28, 2024
fdf61bf
Enable plugin modules, and commit web api plugin for full nodes.
eanzhao Jun 28, 2024
1cee8b9
Validate the length of ProposalDescriptionUrl field of proposals.
eanzhao Jun 28, 2024
3dbd5df
Fix judgements and add tests
eanzhao Jul 1, 2024
da843dd
Now the dpos consensus can be replaced by poa consensus via plugin me…
eanzhao Jul 3, 2024
e2d727b
Merge branch 'dev' into feature/proposal-title
eanzhao Jul 3, 2024
6ec88ef
Add plugin sources if only directory exists.
eanzhao Jul 4, 2024
6b2778a
Merge branch 'feature/plugins' of aelf:AElfProject/AElf into feature/…
eanzhao Jul 4, 2024
ed08d7a
Remove unnecessary files.
eanzhao Jul 4, 2024
c219521
Revert a few changes.
eanzhao Jul 4, 2024
cdd6db7
Merge branch 'dev' of aelf:AElfProject/AElf into feature/plugin-modules
eanzhao Jul 4, 2024
8dfa973
Merge pull request #3566 from AElfProject/feature/proposal-title
eanzhao Jul 4, 2024
29d5da2
Rollback the assembly of txList
chopin-fan Jul 8, 2024
13fb906
Change the version of protobuf to 3.27.2
chopin-fan Jul 8, 2024
1eef0a5
Adjust the style of parallelization.
chopin-fan Jul 12, 2024
c1670f4
commit yml files
eanzhao Jul 17, 2024
3974b28
Merge pull request #16 from eanzhao/feature/github-actions-readme-badges
eanzhao Jul 17, 2024
f90e762
fix publish-test-summary.yml
eanzhao Jul 17, 2024
a9f3464
Merge pull request #17 from eanzhao/feature/github-actions-readme-badges
eanzhao Jul 17, 2024
78b33ad
Rollback the adjusted code.
chopin-fan Jul 17, 2024
b5c3941
Split build and test workflows
eanzhao Jul 17, 2024
8b6c40d
Merge pull request #18 from eanzhao/feature/github-actions-readme-badges
eanzhao Jul 17, 2024
3c1554f
Add groth16 and poseidon to whitelist.
chopin-fan Jul 18, 2024
33b0f23
Retrigger sonarqube
chopin-fan Jul 18, 2024
de76658
Merge branch 'dev' into feature/ecies
chopin-fan Jul 18, 2024
45027f0
Retrigger sonarqube
chopin-fan Jul 18, 2024
bcc764d
Retrigger sonarqube
chopin-fan Jul 18, 2024
2fb5acd
Fix method IsSecretSharingEnabled
eanzhao Jul 18, 2024
cf5aa3d
Merge branch 'dev' into feature/plugin-modules
chopin-fan Jul 18, 2024
6be7f5e
Merge pull request #3564 from AElfProject/feature/ecies
chopin-fan Jul 18, 2024
f681d58
Merge branch 'dev' into feature/plugin-modules
chopin-fan Jul 18, 2024
5069438
Merge branch 'dev' into feature/plugin-modules
JimAelf Jul 18, 2024
542043d
Merge pull request #3588 from AElfProject/feature/plugin-modules
chopin-fan Jul 18, 2024
f6a60e5
1.Add a nuget.config file
chopin-fan Jul 18, 2024
db228e8
Merge dev branch, then resolve conflicts.
chopin-fan Jul 18, 2024
1997174
Change the version of sdk to 8.0.303
chopin-fan Jul 18, 2024
2b086d1
Change version to 8.0.303 in global.json
chopin-fan Jul 18, 2024
cc7ffaa
1.Change dotnet-version to 8.0 in benchmark_action.yml
chopin-fan Jul 19, 2024
58a7833
Change version to 8.0.x in templates folder
chopin-fan Jul 19, 2024
395c89c
Change version of protobuf to 3.27.2 in build-template-window.yml
chopin-fan Jul 19, 2024
3a9a1fd
Change sdk version to 8.0.303
chopin-fan Jul 19, 2024
f77bc2f
Change version of groth16 and poseidon
chopin-fan Jul 19, 2024
77ad704
Merge remote-tracking branch 'origin/feature/performance-tuning-net8'…
chopin-fan Jul 19, 2024
509d841
Revert protoc version
chopin-fan Jul 19, 2024
15a1d3d
1.Change DOTNET_VERSION to 8.0.33
chopin-fan Jul 19, 2024
dc2f69a
Change DOTNET_VERSION to 8.0.7
chopin-fan Jul 19, 2024
1e4885d
Revert version
chopin-fan Jul 19, 2024
4942406
Change DOTNET_VERSION to 8.0.300
chopin-fan Jul 19, 2024
e32be7a
Change CAKE_VERSION to 0.37.0
chopin-fan Jul 19, 2024
c9ec1a6
Change DOTNET_VERSION to 8.0.303
chopin-fan Jul 19, 2024
ed469ba
Change sdk version to 8.0.303 in sonarqube.yaml
chopin-fan Jul 19, 2024
df42e3e
Change version of Protobuf to 3.19.4
chopin-fan Jul 19, 2024
c4170cf
Change version to 8.0.x in global.json
chopin-fan Jul 19, 2024
cd63c06
Adjust unit-test of CleanIdleExecutive_Test
chopin-fan Jul 19, 2024
062042b
Refactor test.yml
eanzhao Jul 19, 2024
9e3ceb3
Merge pull request #19 from eanzhao/feature/github-actions-readme-badges
eanzhao Jul 19, 2024
48dab8a
Change version to 8.0.303 in global.json
chopin-fan Jul 19, 2024
778a952
Change version of Basic.Reference.Assemblies.Net80 to 1.5.0
chopin-fan Jul 19, 2024
6d0347b
Restore deleted lines of code.
chopin-fan Jul 19, 2024
6e906c2
Add logs to find errors
chopin-fan Jul 20, 2024
bab222c
Resolve issues with thread safety caused by parallel execution
chopin-fan Jul 20, 2024
fe82d78
Change protoc version to 3.19.4 in install_protobuf.sh
chopin-fan Jul 20, 2024
bd5099a
Add ServerServiceDefinition.BindService to whitelist
chopin-fan Jul 20, 2024
9674f81
Add whiteList
chopin-fan Jul 20, 2024
3480370
Resolve the execution timeout issue caused by using AsParallel
chopin-fan Jul 20, 2024
69835d9
Remove Parallel
chopin-fan Jul 20, 2024
dc5ea6e
Adjust wrong unit test
chopin-fan Jul 20, 2024
a6628c8
Change protoc version to 3.27.2
chopin-fan Jul 20, 2024
96ad4b1
Merge pull request #3590 from AElfProject/feature/performance-tuning-…
chopin-fan Jul 22, 2024
5918f43
Commit yml files for using github actions to build and test solution.
eanzhao Jul 22, 2024
6c5d754
Improve test.yml
eanzhao Jul 22, 2024
3a21bea
Fix readme
eanzhao Jul 22, 2024
252338a
Cancal parallelization
chopin-fan Jul 22, 2024
698562e
Restore the GetDeterministicByteArrays method to facilitate problem d…
chopin-fan Jul 23, 2024
db20028
Use parallel
chopin-fan Jul 23, 2024
9cd1135
Add Executed block log
chopin-fan Jul 24, 2024
ab9dc69
Modify test.yml to not use gist.
eanzhao Jul 24, 2024
fb82e5a
Rename token name.
eanzhao Jul 24, 2024
9f4fe28
Update test results
actions-user Jul 24, 2024
561285b
Fix Commit and Push
eanzhao Jul 24, 2024
53eef1e
Merge branch 'feature/use-github-actions' of aelf:eanzhao/AElf into f…
eanzhao Jul 24, 2024
a641a44
Merge branch 'AElfProject:dev' into dev
eanzhao Jul 24, 2024
66f3880
Merge branch 'dev' into feature/use-github-actions
eanzhao Jul 24, 2024
846b2c5
Merge pull request #20 from eanzhao/feature/use-github-actions
eanzhao Jul 24, 2024
9e54196
Update joob Commit and push
eanzhao Jul 24, 2024
06d195e
Add log
chopin-fan Jul 24, 2024
02f899b
Add log
chopin-fan Jul 24, 2024
31d6cd9
Only run a few tests to save time
eanzhao Jul 24, 2024
f0a06f3
Cancel parallel
chopin-fan Jul 24, 2024
e2fddaa
Fix Commit and push
eanzhao Jul 24, 2024
aa20376
Add log
chopin-fan Jul 24, 2024
ccfa4b6
Delete log
chopin-fan Jul 24, 2024
98cd7d2
Update test.yml
eanzhao Jul 26, 2024
4c5247b
Add codecov uploading to test.yml
eanzhao Jul 26, 2024
b2cf1db
Run all tests
eanzhao Jul 29, 2024
fa8b1bf
Update readme for current repo
eanzhao Jul 29, 2024
fcbc2bd
Merge dev and resolve conflicts
eanzhao Jul 29, 2024
166c09a
Fix readme
eanzhao Jul 29, 2024
99bb4f4
Fix myget badge.
eanzhao Jul 29, 2024
88cdb14
Add continue-on-error config to test.yml
eanzhao Jul 29, 2024
498a64f
Cancel the whitelisting feature for groth16 and poseidon.
chopin-fan Jul 31, 2024
b750205
Merge branch 'master' into release/1.10.0
chopin-fan Jul 31, 2024
fb5359a
docs: readme
yongenaelf Aug 1, 2024
c337eda
Modify the version of groth16 and poseidon
chopin-fan Aug 1, 2024
a6ecf37
Merge remote-tracking branch 'origin/release/1.10.0' into release/1.10.0
chopin-fan Aug 1, 2024
499125c
Merge pull request #3596 from AElfProject/release/1.10.0
JimAelf Aug 2, 2024
babb0cd
Merge pull request #3597 from AElfProject/docs-readme
AelfHongliang Aug 6, 2024
cc71fbe
docs: link to aelf-docs
yongenaelf Aug 6, 2024
561603f
Tune impl of test workflow
eanzhao Aug 6, 2024
5022a3e
Merge branch 'dev' of aelf:AElfProject/AElf into feature/use-github-a…
eanzhao Aug 6, 2024
2111254
Merge pull request #3594 from AElfProject/feature/use-github-actions
AelfHongliang Aug 6, 2024
4881469
Merge pull request #3599 from AElfProject/docs-readme-1
AelfHongliang Aug 6, 2024
fd009eb
Merge branch 'dev'
JimAelf Aug 6, 2024
6f1f1c2
Bump Bn254.Net version
gldeng Aug 15, 2024
5195284
Add game contract
gldeng Aug 28, 2024
4f362c8
Fix initial state
gldeng Aug 29, 2024
955096c
Add whitelist solution
chopin-fan Sep 3, 2024
47595fc
Resolve issue of compilation and running, and add unit-test
chopin-fan Sep 3, 2024
27bc8ee
Merge branch 'feature/whitelist-to-sdk' of github.com:AElfProject/AEl…
gldeng Sep 4, 2024
d0b2947
feat(zkp): Add methods required for supporting zkp verification over …
gldeng Sep 4, 2024
1addfdd
Adapt ZkWasmVerifier to use new updated sdk
gldeng Sep 4, 2024
2c3aadc
fix: Function name
stevenportkey Sep 10, 2024
cc20bed
feat(zktree): Add ZkTreeVerifier
stevenportkey Sep 10, 2024
c2181e9
feat(zktree): fix remaining issue and add test
stevenportkey Sep 10, 2024
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .bettercodehub.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Depth of components to analyze (2 levels deep)
component_depth: 2

# Programming languages to analyze
languages:
- csharp
42 changes: 22 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
name: 👾 Bug Report
about: Report a bug or issue with the project.
title: ''
labels: ''
labels: 'bug'
assignees: ''

---

**Describe the bug**
### Description
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
### Steps To Reproduce
1. Log in...
2. Ensure that...
3. Allow a long period of inactivity to pass...
4. Observe that...
5. Attempt to log in...

**Expected behavior**
A clear and concise description of what you expected to happen.
### Current Behavior
- After the period of inactivity...
- When the user tries to log in using another method...
- This causes a bug due to...

**Screenshots**
If applicable, add screenshots to help explain your problem.
### Expected Behavior
- After a long period of inactivity...
- When a user logs in successfully...
- This ensures that only...

**Environment (please complete the following information):**
- OS and version: [e.g. Ubuntu 18.04]
- Dotnet core version [e.g. 2.2.106]

**Additional context**
Add any other context about the problem here.
### Environment
- Platform: PC
- Node: v18.18.0
- Browser: Chrome 126.0.6478.56
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
blank_issues_enabled: false
issue_template:
- name: 👾 Bug Report
description: Report a bug or issue with the project.
labels: ["bug"]
template: bug_report.md
- name: 💡 Feature Request
description: Create a new ticket for a new feature request.
labels: ["enhancement"]
template: feature_request.md
29 changes: 18 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
---
name: Feature request
about: Suggest an idea for this project
name: 💡 Feature Request
about: Create a new ticket for a new feature request
title: ''
labels: ''
labels: 'enhancement'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
### Expected Behavior
Describe the expected behavior here.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
### Specifications
As a `user`, I would like to `action` so that `reason`.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Features:**
- describe feature details here.

**Additional context**
Add any other context or screenshots about the feature request here.
**Development Tasks:**
- [ ] Task 1
- [ ] Task 2

### Dependencies
List any dependencies that are required for this feature by providing links to the issues or repositories.

### References
List any references that are related to this feature request.
48 changes: 48 additions & 0 deletions .github/workflows/benchmark_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: benchmark_action
on:
push:
tags:
- '**'
branches:
- '**'



env:
DOTNET_INSTALL_DIR: "./.dotnet"
Solution_Name: AElf.All.sln
Service_Name: AELF

jobs:
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'

- name: 'Download AElf build tools'
run: bash scripts/download_binary.sh

- name: 'Install protobuf'
run: bash scripts/install_protobuf.sh

- name: Install dependencies
run: dotnet restore bench/AElf.Benchmark/AElf.Benchmark.csproj --verbosity quiet

- name: BenchMark
run: |
cd bench/AElf.Benchmark
dotnet run --filter '*MinerTests*'
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.Service_Name }}
path: bench/AElf.Benchmark/BenchmarkDotNet.Artifacts/results
retention-days: 30
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build
on:
push:
branches:
- dev
- master
- feature/use-github-actions

env:
DOTNET_INSTALL_DIR: "./.dotnet"

jobs:
build:

runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'

- name: Download AElf build tools
run: bash scripts/download_binary.sh

- name: Install Protobuf
run: bash scripts/install_protobuf.sh

- name: Build Solution
run: bash scripts/build.sh

49 changes: 49 additions & 0 deletions .github/workflows/sonarqube.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
on:
pull_request:
types: [opened, synchronize, reopened]

name: PR Static Code Analysis
jobs:
static-code-analysis:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'
- name: Create temporary global.json
run: echo '{"sdk":{"version":"8.0.303"}}' > ./global.json
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache SonarQube packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache SonarQube scanner
id: cache-sonar-scanner
uses: actions/cache@v1
with:
path: ./.sonar/scanner
key: ${{ runner.os }}-sonar-scanner
restore-keys: ${{ runner.os }}-sonar-scanner
- name: Install SonarScanner for .NET
run: dotnet tool update dotnet-sonarscanner --tool-path ./.sonar/scanner
- name: Add .NET global tools to PATH
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
- name: Install protobuf
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Begin SonarQube analysis
run: |
./.sonar/scanner/dotnet-sonarscanner begin /k:"AElf" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
dotnet build AElf.All.sln
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"



22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test
on:
push:
branches:
- dev
- master
- feature/use-github-actions

jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Run dotnet ci action
uses: AElfProject/[email protected]
with:
commit-token: ${{ secrets.COMMIT_TOKEN }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
branch-name: "feature/badge-json"
solution-name: "AElf.All.sln"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*.userprefs

# Build results
build/
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
Expand Down Expand Up @@ -312,4 +313,4 @@ tools
.idea/.idea.AElf/.idea/projectSettingsUpdater.xml
.idea/.idea.AElf/.idea/vcs.xml
.idea/.idea.AElf/.idea/workspace.xml
.idea/.idea.AElf/riderModule.iml
.idea/.idea.AElf/riderModule.iml
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sphinx:
# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
# Optionally set the version of python and requirements required to build your docs
python:
version: 3.7
install:
Expand Down
56 changes: 56 additions & 0 deletions AElf.All.sln
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,22 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZkWasmVerifier", "contract\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZkWasmVerifier.Tests", "test\ZkWasmVerifier.Tests\ZkWasmVerifier.Tests.csproj", "{8054502F-2594-4028-8109-A024DF7C82FA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZkWasmGame", "contract\ZkWasmGame\ZkWasmGame.csproj", "{B859C137-D581-47B8-A588-B37673FAF000}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.Kernel.FeatureDisable", "src\AElf.Kernel.FeatureDisable\AElf.Kernel.FeatureDisable.csproj", "{A4ACE6D2-4CF8-4B52-93C9-BB8BEC0C098E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.Kernel.FeatureDisable.Tests", "test\AElf.Kernel.FeatureDisable.Tests\AElf.Kernel.FeatureDisable.Tests.csproj", "{8C0D86A4-D1A7-4B61-AC44-755F5AC75D67}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.Kernel.FeatureDisable.Core", "src\AElf.Kernel.FeatureDisable.Core\AElf.Kernel.FeatureDisable.Core.csproj", "{659A7C7A-44C9-424E-B4F6-D1D3656F7AD4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.Sdk.CSharp.Spec", "src\AElf.Sdk.CSharp.Spec\AElf.Sdk.CSharp.Spec.csproj", "{45A77C41-142E-4296-A14A-D53067EC8B75}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.Sdk.CSharp.Internal", "src\AElf.Sdk.CSharp.Internal\AElf.Sdk.CSharp.Internal.csproj", "{A77380A7-E425-45A3-BF3F-F865DA4F3F4E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZkTreeVerifier", "contract\ZkTreeVerifier\ZkTreeVerifier.csproj", "{F4BA0EFB-9D98-4AFE-BC4B-3B4CC527D4A6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZkTreeVerifier.Tests", "test\ZkTreeVerifier.Tests\ZkTreeVerifier.Tests.csproj", "{6BA638C7-CADB-4672-A2A4-765FAE2DF702}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -1101,6 +1117,38 @@ Global
{8054502F-2594-4028-8109-A024DF7C82FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8054502F-2594-4028-8109-A024DF7C82FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8054502F-2594-4028-8109-A024DF7C82FA}.Release|Any CPU.Build.0 = Release|Any CPU
{B859C137-D581-47B8-A588-B37673FAF000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B859C137-D581-47B8-A588-B37673FAF000}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B859C137-D581-47B8-A588-B37673FAF000}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B859C137-D581-47B8-A588-B37673FAF000}.Release|Any CPU.Build.0 = Release|Any CPU
{A4ACE6D2-4CF8-4B52-93C9-BB8BEC0C098E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A4ACE6D2-4CF8-4B52-93C9-BB8BEC0C098E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A4ACE6D2-4CF8-4B52-93C9-BB8BEC0C098E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A4ACE6D2-4CF8-4B52-93C9-BB8BEC0C098E}.Release|Any CPU.Build.0 = Release|Any CPU
{8C0D86A4-D1A7-4B61-AC44-755F5AC75D67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C0D86A4-D1A7-4B61-AC44-755F5AC75D67}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C0D86A4-D1A7-4B61-AC44-755F5AC75D67}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C0D86A4-D1A7-4B61-AC44-755F5AC75D67}.Release|Any CPU.Build.0 = Release|Any CPU
{659A7C7A-44C9-424E-B4F6-D1D3656F7AD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{659A7C7A-44C9-424E-B4F6-D1D3656F7AD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{659A7C7A-44C9-424E-B4F6-D1D3656F7AD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{659A7C7A-44C9-424E-B4F6-D1D3656F7AD4}.Release|Any CPU.Build.0 = Release|Any CPU
{45A77C41-142E-4296-A14A-D53067EC8B75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{45A77C41-142E-4296-A14A-D53067EC8B75}.Debug|Any CPU.Build.0 = Debug|Any CPU
{45A77C41-142E-4296-A14A-D53067EC8B75}.Release|Any CPU.ActiveCfg = Release|Any CPU
{45A77C41-142E-4296-A14A-D53067EC8B75}.Release|Any CPU.Build.0 = Release|Any CPU
{A77380A7-E425-45A3-BF3F-F865DA4F3F4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A77380A7-E425-45A3-BF3F-F865DA4F3F4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A77380A7-E425-45A3-BF3F-F865DA4F3F4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A77380A7-E425-45A3-BF3F-F865DA4F3F4E}.Release|Any CPU.Build.0 = Release|Any CPU
{F4BA0EFB-9D98-4AFE-BC4B-3B4CC527D4A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F4BA0EFB-9D98-4AFE-BC4B-3B4CC527D4A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F4BA0EFB-9D98-4AFE-BC4B-3B4CC527D4A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F4BA0EFB-9D98-4AFE-BC4B-3B4CC527D4A6}.Release|Any CPU.Build.0 = Release|Any CPU
{6BA638C7-CADB-4672-A2A4-765FAE2DF702}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6BA638C7-CADB-4672-A2A4-765FAE2DF702}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6BA638C7-CADB-4672-A2A4-765FAE2DF702}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6BA638C7-CADB-4672-A2A4-765FAE2DF702}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -1294,5 +1342,13 @@ Global
{6981684D-450C-412B-9082-0B0A67A679B9} = {D3950CC9-808F-4ED8-946A-79A992F3F8EF}
{DD4B2603-902F-41FE-A85F-F952957FAFA3} = {9AA521A5-80BF-4D20-9339-31D7E86D5868}
{8054502F-2594-4028-8109-A024DF7C82FA} = {D3950CC9-808F-4ED8-946A-79A992F3F8EF}
{B859C137-D581-47B8-A588-B37673FAF000} = {9AA521A5-80BF-4D20-9339-31D7E86D5868}
{A4ACE6D2-4CF8-4B52-93C9-BB8BEC0C098E} = {90B310B4-C2DB-419E-B5EE-97FA096B62CC}
{8C0D86A4-D1A7-4B61-AC44-755F5AC75D67} = {4E54480A-D155-43ED-9736-1A5BE7957211}
{659A7C7A-44C9-424E-B4F6-D1D3656F7AD4} = {90B310B4-C2DB-419E-B5EE-97FA096B62CC}
{45A77C41-142E-4296-A14A-D53067EC8B75} = {798BAA50-825B-4DD9-83E2-77A9EE6EBE09}
{A77380A7-E425-45A3-BF3F-F865DA4F3F4E} = {798BAA50-825B-4DD9-83E2-77A9EE6EBE09}
{F4BA0EFB-9D98-4AFE-BC4B-3B4CC527D4A6} = {9AA521A5-80BF-4D20-9339-31D7E86D5868}
{6BA638C7-CADB-4672-A2A4-765FAE2DF702} = {D3950CC9-808F-4ED8-946A-79A992F3F8EF}
EndGlobalSection
EndGlobal
3 changes: 2 additions & 1 deletion AElf.ContractTools.targets
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
</PropertyGroup>
</Otherwise>
</Choose>


<!-- Generate protobuf code before building and getting the target path -->
<Target Name="GenerateProtobufCode" BeforeTargets="BeforeBuild;GetTargetPath">
<PropertyGroup>
<LocalProtobufDir>$(ProjectDir)/Protobuf</LocalProtobufDir>
Expand Down
3 changes: 1 addition & 2 deletions AElf.Contracts.sln
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "contract", "contract", "{651F0F6E-86CF-42D2-9110-5F3EAE5704F0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{26990847-E0A2-4FCC-8C71-267CA77557CD}"
Expand Down
Loading
Loading