mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
parent
938db0afcc
commit
45c1518ea1
5 changed files with 9 additions and 47 deletions
5
.github/pull_request_template.md
vendored
5
.github/pull_request_template.md
vendored
|
|
@ -15,6 +15,7 @@ _Put an `x` in the boxes that apply_
|
|||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
|
||||
- [ ] Documentation Update (if none of the other choices apply)
|
||||
- [ ] Regular KTLO or any of the maintaince work. e.g code style
|
||||
- [ ] CICD Improvement
|
||||
|
||||
## Impacted Components
|
||||
|
||||
|
|
@ -28,6 +29,7 @@ _Put an `x` in the boxes that apply_
|
|||
- [ ] EVM
|
||||
- [ ] Account
|
||||
- [ ] Not sure
|
||||
- [ ] N/A
|
||||
|
||||
## Checklist
|
||||
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
|
||||
|
|
@ -36,4 +38,5 @@ _Put an `x` in the boxes that apply. You can also fill these out after creating
|
|||
- [ ] Provide an end-to-end test plan in the PR description on how to manually test it on the devnet/testnet.
|
||||
- [ ] Tested the backwards compatibility.
|
||||
- [ ] Tested with XDC nodes running this version co-exist with those running the previous version.
|
||||
- [ ] Relevant documentation has been updated as part of this PR
|
||||
- [ ] Relevant documentation has been updated as part of this PR
|
||||
- [ ] N/A
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "tfXdcNode",
|
||||
"image": "xinfinorg/${xdc_environment}:${image_tag}",
|
||||
"environment": [
|
||||
{"name": "PRIVATE_KEYS", "value": "${private_keys}"},
|
||||
{"name": "LOG_LEVEL", "value": "${log_level}"},
|
||||
{"name": "NODE_NAME", "value": "${node_name}"}
|
||||
],
|
||||
"essential": true,
|
||||
"logConfiguration": {
|
||||
"logDriver": "awslogs",
|
||||
"options": {
|
||||
"awslogs-group": "${cloudwatch_group}",
|
||||
"awslogs-region": "us-east-1",
|
||||
"awslogs-stream-prefix": "ecs"
|
||||
}
|
||||
},
|
||||
"portMappings": [
|
||||
{
|
||||
"hostPort": 8555,
|
||||
"protocol": "tcp",
|
||||
"containerPort": 8555
|
||||
},
|
||||
{
|
||||
"hostPort": 8545,
|
||||
"protocol": "tcp",
|
||||
"containerPort": 8545
|
||||
},
|
||||
{
|
||||
"hostPort": 30303,
|
||||
"protocol": "tcp",
|
||||
"containerPort": 30303
|
||||
}
|
||||
],
|
||||
"mountPoints": [
|
||||
{
|
||||
"containerPath": "/work/xdcchain",
|
||||
"sourceVolume": "efs"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
@ -5,7 +5,8 @@
|
|||
"environment": [
|
||||
{"name": "PRIVATE_KEYS", "value": "${private_keys}"},
|
||||
{"name": "LOG_LEVEL", "value": "${log_level}"},
|
||||
{"name": "NODE_NAME", "value": "${node_name}"}
|
||||
{"name": "NODE_NAME", "value": "${node_name}"},
|
||||
{"name": "NETWORK", "value": "${chain_network}"}
|
||||
],
|
||||
"essential": true,
|
||||
"logConfiguration": {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ data template_file devnet_container_definition {
|
|||
cloudwatch_group = "tf-${each.key}"
|
||||
cloudwatch_region = "${var.region}"
|
||||
log_level = "${lookup(each.value, "logLevel", "${var.logLevel}")}"
|
||||
chain_network = "devnet"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -81,7 +82,7 @@ resource "aws_ecs_service" "devnet_ecs_service" {
|
|||
aws_default_security_group.devnet_xdcnode_security_group.id
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
deployment_circuit_breaker {
|
||||
enable = true
|
||||
rollback = false
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ var (
|
|||
|
||||
ErrInvalidCheckpointPenalties = errors.New("invalid penalty list on checkpoint block")
|
||||
|
||||
ErrValidatorsNotLegit = errors.New("validators does not match what's stored in snapshot minutes its penalty")
|
||||
ErrValidatorsNotLegit = errors.New("validators does not match what's stored in snapshot minus its penalty")
|
||||
ErrPenaltiesNotLegit = errors.New("penalties does not match")
|
||||
|
||||
// errInvalidMixDigest is returned if a block's mix digest is non-zero.
|
||||
|
|
|
|||
Loading…
Reference in a new issue