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

Regarding the release PR for aelf project version 1.10.0 #3596

Merged
merged 102 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
c68715c
Add a few things to optimize the performance, like another approach t…
eanzhao Mar 14, 2024
d13ff11
Fix test infra.
eanzhao Mar 14, 2024
a78ed5e
Remove some logs for better debug
eanzhao Mar 19, 2024
97ba152
Optimized methods of code check
eanzhao Mar 21, 2024
11bef42
Cache Chain object on ChainManager
eanzhao Mar 25, 2024
227ce39
Commit test case of feature disable service.
eanzhao Mar 26, 2024
2c6df2a
Update abp and .net version
eanzhao Apr 2, 2024
79c0c40
For stress testing.
eanzhao Apr 7, 2024
4240528
Merge .net 8 upgrade
eanzhao Apr 7, 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
11ed7c4
Improve configuration & fix test cases
eanzhao Apr 16, 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
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
78b33ad
Rollback the adjusted code.
chopin-fan 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
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
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
06d195e
Add log
chopin-fan Jul 24, 2024
02f899b
Add log
chopin-fan Jul 24, 2024
f0a06f3
Cancel parallel
chopin-fan Jul 24, 2024
aa20376
Add log
chopin-fan Jul 24, 2024
ccfa4b6
Delete log
chopin-fan Jul 24, 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
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
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix judgements and add tests
  • Loading branch information
eanzhao committed Jul 1, 2024
commit 3dbd5dfe2a123e7b4a6c94a075a2d83b7a9620a8
2 changes: 1 addition & 1 deletion contract/AElf.Contracts.Association/Association_Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private void CheckCreateProposalInput(CreateProposalInput input)
// Check the length of title
Assert(input.Title.Length <= AssociationConstants.MaxLengthForTitle, "Title is too long.");
// Check the length of description
Assert(input.Title.Length <= AssociationConstants.MaxLengthForDescription, "Description is too long.");
Assert(input.Description.Length <= AssociationConstants.MaxLengthForDescription, "Description is too long.");
// Check the length of description url
Assert(input.ProposalDescriptionUrl.Length <= AssociationConstants.MaxLengthForProposalDescriptionUrl,
"Description url is too long.");
Expand Down
2 changes: 1 addition & 1 deletion contract/AElf.Contracts.Parliament/Parliament_Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private void CheckCreateProposalInput(CreateProposalInput input)
// Check the length of title
Assert(input.Title.Length <= ParliamentConstants.MaxLengthForTitle, "Title is too long.");
// Check the length of description
Assert(input.Title.Length <= ParliamentConstants.MaxLengthForDescription, "Description is too long.");
Assert(input.Description.Length <= ParliamentConstants.MaxLengthForDescription, "Description is too long.");
// Check the length of description url
Assert(input.ProposalDescriptionUrl.Length <= ParliamentConstants.MaxLengthForProposalDescriptionUrl,
"Description url is too long.");
Expand Down
2 changes: 1 addition & 1 deletion contract/AElf.Contracts.Referendum/Referendum_Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private void CheckCreateProposalInput(CreateProposalInput input)
// Check the length of title
Assert(input.Title.Length <= ReferendumConstants.MaxLengthForTitle, "Title is too long.");
// Check the length of description
Assert(input.Title.Length <= ReferendumConstants.MaxLengthForDescription, "Description is too long.");
Assert(input.Description.Length <= ReferendumConstants.MaxLengthForDescription, "Description is too long.");
// Check the length of description url
Assert(input.ProposalDescriptionUrl.Length <= ReferendumConstants.MaxLengthForProposalDescriptionUrl,
"Description url is too long.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public async Task Get_Proposal_Test()
getProposal.Output.ProposalId.ShouldBe(proposalId);
getProposal.Output.OrganizationAddress.ShouldBe(organizationAddress);
getProposal.Output.ToAddress.ShouldBe(TokenContractAddress);
getProposal.Output.Title.ShouldNotBeNullOrEmpty();
getProposal.Output.Description.ShouldNotBeNullOrEmpty();

var transferParam = TransferInput.Parser.ParseFrom(getProposal.Output.Params);
transferParam.Symbol.ShouldBe(transferInput.Symbol);
Expand Down Expand Up @@ -1541,7 +1543,9 @@ private async Task<Hash> CreateProposalAsync(ECKeyPair proposalKeyPair, Address
ToAddress = TokenContractAddress,
Params = transferInput.ToByteString(),
ExpiredTime = BlockTimeProvider.GetBlockTime().AddDays(2),
OrganizationAddress = organizationAddress
OrganizationAddress = organizationAddress,
Title = "Token Transfer",
Description = "Transfer 100 ELF to Tester's address",
};
var parliamentContractStub = GetParliamentContractTester(proposalKeyPair);
var proposal = await parliamentContractStub.CreateProposal.SendAsync(createProposalInput);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ public async Task Get_Proposal_Test()
getProposal.Output.OrganizationAddress.ShouldBe(organizationAddress);
getProposal.Output.ToAddress.ShouldBe(TokenContractAddress);
getProposal.Output.Params.ShouldBe(createInput.ToByteString());
getProposal.Output.Title.ShouldNotBeNullOrEmpty();
getProposal.Output.Description.ShouldNotBeNullOrEmpty();
}

[Fact]
Expand Down Expand Up @@ -1320,7 +1322,9 @@ private async Task<Hash> CreateProposalAsync(ECKeyPair proposalKeyPair, Address
ToAddress = TokenContractAddress,
Params = createInput.ToByteString(),
ExpiredTime = timestamp ?? BlockTimeProvider.GetBlockTime().AddSeconds(1000),
OrganizationAddress = organizationAddress
OrganizationAddress = organizationAddress,
Title = "Create token: NEW",
Description = "Create a new token named NEW."
};
ReferendumContractStub = GetReferendumContractTester(proposalKeyPair);
var proposal = await ReferendumContractStub.CreateProposal.SendAsync(createProposalInput);
Expand Down
Loading