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

chore: add events for parameter updates #496

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

forcodedancing
Copy link
Contributor

Description

Add events when module parameters are changed.

Rationale

To let the downstream know there are changes about paramters.

Example

{
type: "greenfield.storage.Params",
attributes: [
{
key: "bsc_mirror_bucket_ack_relayer_fee",
value: ""250000000000000"",
index: true
},
{
key: "bsc_mirror_bucket_relayer_fee",
value: ""1300000000000000"",
index: true
},
{
key: "bsc_mirror_group_ack_relayer_fee",
value: ""250000000000000"",
index: true
},
{
key: "bsc_mirror_group_relayer_fee",
value: ""1300000000000000"",
index: true
},
{
key: "bsc_mirror_object_ack_relayer_fee",
value: ""250000000000000"",
index: true
},
{
key: "bsc_mirror_object_relayer_fee",
value: ""1300000000000000"",
index: true
},
{
key: "discontinue_bucket_max",
value: ""18446744073709551615"",
index: true
},
{
key: "discontinue_confirm_period",
value: ""5"",
index: true
},
{
key: "discontinue_counting_window",
value: ""10000"",
index: true
},
{
key: "discontinue_deletion_max",
value: ""2"",
index: true
},
{
key: "discontinue_object_max",
value: ""18446744073709551615"",
index: true
},
{
key: "max_buckets_per_account",
value: "100",
index: true
},
{
key: "max_local_virtual_group_num_per_bucket",
value: "10",
index: true
},
{
key: "max_payload_size",
value: ""68719476736"",
index: true
},
{
key: "min_quota_update_interval",
value: ""2592000"",
index: true
},
{
key: "op_mirror_bucket_ack_relayer_fee",
value: ""25000000000000"",
index: true
},
{
key: "op_mirror_bucket_relayer_fee",
value: ""130000000000000"",
index: true
},
{
key: "op_mirror_group_ack_relayer_fee",
value: ""25000000000000"",
index: true
},
{
key: "op_mirror_group_relayer_fee",
value: ""130000000000000"",
index: true
},
{
key: "op_mirror_object_ack_relayer_fee",
value: ""25000000000000"",
index: true
},
{
key: "op_mirror_object_relayer_fee",
value: ""130000000000000"",
index: true
},
{
key: "stale_policy_cleanup_max",
value: ""200"",
index: true
},
{
key: "versioned_params",
value: "{"max_segment_size":"2048","redundant_data_chunk_num":4,"redundant_parity_chunk_num":2,"min_charge_size":"4096"}",
index: true
}
]
}

Changes

Notable changes:

  • add events

@unclezoro unclezoro added this pull request to the merge queue Sep 27, 2023
Merged via the queue into bnb-chain:develop with commit 65cc597 Sep 27, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants