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

fix: align governance proto names with core #524

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VEGA_SIM_VEGA_TAG=cb2153cc1d6bba5d8ac348ed4b2bf8720c428630
VEGA_SIM_VEGA_TAG=ae2715f513f75351f7f78546ea58ae034667564c
VEGA_SIM_CONSOLE_TAG=develop
VEGA_DEFAULT_KEY_NAME='Key 1'
VEGA_SIM_NETWORKS_INTERNAL_TAG=main
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline {
disableConcurrentBuilds(abortPrevious: true)
}
parameters {
string( name: 'VEGA_VERSION', defaultValue: 'cb2153cc1d6bba5d8ac348ed4b2bf8720c428630',
string( name: 'VEGA_VERSION', defaultValue: 'ae2715f513f75351f7f78546ea58ae034667564c',
description: 'Git branch, tag or hash of the vegaprotocol/vega repository')
string( name: 'VEGACAPSULE_VERSION', defaultValue: 'main',
description: 'Git branch, tag or hash of the vegaprotocol/vegacapsule repository')
Expand Down
4 changes: 2 additions & 2 deletions vega_sim/api/governance.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def update_referral_program(
enactment_time: Optional[int] = None,
time_forward_fn: Optional[Callable[[], None]] = None,
):
referral_program = vega_protos.vega.ReferralProgram(
referral_program = vega_protos.governance.ReferralProgramChanges(
end_of_program_timestamp=end_of_program_timestamp,
window_length=window_length,
)
Expand Down Expand Up @@ -707,7 +707,7 @@ def update_volume_discount_program(
enactment_time: Optional[int] = None,
time_forward_fn: Optional[Callable[[], None]] = None,
):
volume_discount_program = vega_protos.vega.VolumeDiscountProgram(
volume_discount_program = vega_protos.governance.VolumeDiscountProgramChanges(
end_of_program_timestamp=end_of_program_timestamp,
window_length=window_length,
)
Expand Down
124 changes: 62 additions & 62 deletions vega_sim/proto/data_node/api/v2/trading_data_pb2.py

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions vega_sim/proto/vega/commands/v1/commands_pb2.py

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions vega_sim/proto/vega/events/v1/events_pb2.py

Large diffs are not rendered by default.

56 changes: 30 additions & 26 deletions vega_sim/proto/vega/governance_pb2.py

Large diffs are not rendered by default.

664 changes: 330 additions & 334 deletions vega_sim/proto/vega/snapshot/v1/snapshot_pb2.py

Large diffs are not rendered by default.

Loading