Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
49a3b5f
fix: detect container architecture for Fabric binary download in agen…
YoungHypo Apr 5, 2026
e3d307d
fix: auto-fill chaincode sequence with default value of 1
khanak0509 May 9, 2026
af3e359
remove unused InputNumber import
khanak0509 May 10, 2026
6cedd29
Remove redundant postman info
dodo920306 Apr 10, 2026
d441630
Test create orgs via registration
dodo920306 Apr 11, 2026
fa05f81
Add newman tests to the CI pipeline
dodo920306 Apr 11, 2026
56bdae5
Rename pipelines
dodo920306 Apr 11, 2026
30ba9d4
Rename workflow files
dodo920306 Apr 11, 2026
a88b3c7
Add the login test back
dodo920306 Apr 11, 2026
102da03
Add the peer creation test
dodo920306 Apr 11, 2026
a87e9ec
Add an orderer creation test
dodo920306 Apr 14, 2026
5d9586f
Add a channel creation test
dodo920306 Apr 14, 2026
a6ae05f
Add a chaincode creation test
dodo920306 Apr 24, 2026
61629c4
Bump Hyperledger Fabric to 2.5.15
dodo920306 Apr 24, 2026
c56b6ae
Wait for the chaincode to be approved
dodo920306 Apr 24, 2026
2e9eb98
Add a chaincode commitment test
dodo920306 Apr 24, 2026
c165354
Stop the chaincode container
dodo920306 Apr 24, 2026
943c3f4
Get retry times from collection vars rather than envs
dodo920306 Apr 25, 2026
e3721b2
Increase the retry time upper bound
dodo920306 Apr 25, 2026
476d9bb
Force pulling ccenv before chaincode creation
dodo920306 Apr 25, 2026
9adc1fe
Remove unused variables
dodo920306 Apr 25, 2026
7134341
Merge branch 'main' into feature/chaincode-sequence-autofill
khanak0509 May 10, 2026
48cc700
Merge branch 'main' into feature/chaincode-sequence-autofill
yeasy Jul 17, 2026
0b2b433
Merge branch 'main' into feature/chaincode-sequence-autofill
khanak0509 Jul 18, 2026
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
2 changes: 1 addition & 1 deletion src/agents/hyperledger-fabric/chaincode/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ChaincodeResponseSerializer(serializers.Serializer):
class ChaincodeCreationSerializer(serializers.Serializer):
name = serializers.CharField(help_text="Chaincode Name")
version = serializers.CharField(help_text="Chaincode Version")
sequence = serializers.IntegerField(help_text="Chaincode Sequence")
sequence = serializers.IntegerField(help_text="Chaincode Sequence", required=False, default=1)
channel_name = serializers.CharField(help_text="Chaincode Channel Name")
file = serializers.FileField(help_text="Chaincode File")
init_required = serializers.BooleanField(help_text="Chaincode Required Initialization")
Expand Down
1 change: 1 addition & 0 deletions src/api-engine/chaincode/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class Status(models.TextChoices):
sequence = models.IntegerField(
help_text="Chaincode Sequence",
validators=[MinValueValidator(1)],
default=1,
)
label = models.CharField(
help_text="Chaincode Label",
Expand Down
4 changes: 3 additions & 1 deletion src/api-engine/chaincode/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ class Meta:
)
extra_kwargs = {
"sequence": {
"validators": [MinValueValidator(1)]
"validators": [MinValueValidator(1)],
"required": False,
"default": 1
},
"init_required": {"required": False},
"signature_policy": {"required": False},
Expand Down
21 changes: 2 additions & 19 deletions src/dashboard/src/pages/ChainCode/forms/UploadForm.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import { injectIntl, useIntl } from 'umi';
import { Button, Modal, Input, Upload, message, Switch, Select, InputNumber, Tag } from 'antd';
import { Button, Modal, Input, Upload, message, Switch, Select, Tag } from 'antd';
import { UploadOutlined } from '@ant-design/icons';
import { Form } from 'antd/lib/index';
import { listChannel } from '@/services/channel';
Expand Down Expand Up @@ -178,24 +178,7 @@ const UploadForm = props => {
>
<Input placeholder="Chaincode version" />
</FormItem>
<FormItem
{...formItemLayout}
label="sequence"
name="sequence"
rules={[
{
required: true,
},
]}
>
<InputNumber
min={1}
precision={0}
step={1}
placeholder="Chaincode Sequence"
style={{ width: '100%' }}
/>
</FormItem>

<FormItem
{...formItemLayout}
label="initRequired"
Expand Down