Skip to content

Commit 1f95ca7

Browse files
committed
Removing the changes from the stable branch that aren't in the unstable branch
1 parent 4c9ec78 commit 1f95ca7

File tree

2 files changed

+7
-43
lines changed

2 files changed

+7
-43
lines changed

.github/mergify.yml

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
1-
pull_request_rules:
2-
- name: Ask to resolve conflict
3-
conditions:
4-
- conflict
5-
- -author=dependabot[bot]
6-
- or:
7-
- -draft # Don't report conflicts on regular draft.
8-
- and: # Do report conflicts on draft that are scheduled for the next major release.
9-
- draft
10-
- milestone~=v[0-9]\.[0-9]{2}
11-
actions:
12-
comment:
13-
message: This pull request has merge conflicts. Could you please resolve them
14-
@{{author}}? 🙏
15-
16-
- name: Approve trivial maintainer PRs
17-
conditions:
18-
- base!=stable
19-
- label=trivial
20-
- author=@sigp/lighthouse
21-
- -conflict
22-
actions:
23-
review:
24-
type: APPROVE
25-
26-
- name: Add ready-to-merge labeled PRs to merge queue
27-
conditions:
28-
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
29-
- base!=stable
30-
- label=ready-for-merge
31-
- label!=do-not-merge
32-
actions:
33-
queue:
34-
351
queue_rules:
362
- name: default
373
batch_size: 8
@@ -40,16 +6,14 @@ queue_rules:
406
merge_method: squash
417
commit_message_template: |
428
{{ title }} (#{{ number }})
43-
44-
{{ body | get_section("## Issue Addressed", "") }}
45-
46-
47-
{{ body | get_section("## Proposed Changes", "") }}
9+
10+
{% for commit in commits %}
11+
* {{ commit.commit_message }}
12+
{% endfor %}
4813
queue_conditions:
4914
- "#approved-reviews-by >= 1"
5015
- "check-success=license/cla"
5116
- "check-success=target-branch-check"
52-
- "label!=do-not-merge"
5317
merge_conditions:
5418
- "check-success=test-suite-success"
55-
- "check-success=local-testnet-success"
19+
- "check-success=local-testnet-success"

beacon_node/lighthouse_network/src/peer_manager/peerdb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ impl<E: EthSpec> PeerDB<E> {
240240
if let Some(peer) = self.peers.get(peer_id) {
241241
Some(peer.get_penalty_records())
242242
} else {
243-
error!(self.log, "Cannot get the penalty records of a non-existant peer"; "peer_id" => %peer_id);
243+
error!(%peer_id, "Cannot get the penalty records of a non-existant peer");
244244
None
245245
}
246246
}
@@ -769,7 +769,7 @@ impl<E: EthSpec> PeerDB<E> {
769769

770770
fn add_penalty_record(&mut self, peer_id: &PeerId, penalty_record: PenaltyRecord) {
771771
let info = self.peers.entry(*peer_id).or_insert_with(|| {
772-
error!(self.log, "Adding a penalty record to a non-existant peer"; "peer_id" => %peer_id);
772+
error!(%peer_id, "Adding a penalty record to a non-existant peer");
773773
if self.disable_peer_scoring {
774774
PeerInfo::trusted_peer_info()
775775
} else {

0 commit comments

Comments
 (0)