Skip to content

Commit

Permalink
fix(go): re-generate binding
Browse files Browse the repository at this point in the history
  • Loading branch information
oyyblin committed Dec 23, 2024
1 parent 6657864 commit df133b6
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 1,084 deletions.
9 changes: 9 additions & 0 deletions charts/prover-service/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{include "service.fullname" .}}
labels: {{- include "service.labels" . | nindent 4}}
data:
{{- with .Values.configMap }}
{{- toYaml . | nindent 2 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/prover-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
- containerPort: 4014
name: http-prometheus
envFrom:
- configMapRef:
name: {{ include "service.fullname" . }}
- secretRef:
name: {{ if .Values.useExistingSecrets }}{{ .Values.existingSecretName }}{{ else }}{{ include "service.fullname" . }}{{ end }}
resources:
Expand Down
2 changes: 2 additions & 0 deletions charts/prover-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ existingSecretName: ""
# Only used if useExistingSecrets is false
secrets:
privateKey: ""

configMap: {}
18 changes: 18 additions & 0 deletions contracts/script/participate.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "forge-std/Script.sol";
import {BaseScript} from "./utils/Base.s.sol";
import {Raffle} from "../src/Raffle.sol";

contract ParticipateScript is BaseScript {
function run() external chain broadcaster {
Raffle raffle = Raffle(0x27f1EDBb0B983DA21121fb59298134ab31Cecf73);
raffle.participate(
11382,
1052489016591343323470769874470399378961347062869,
20853153,
hex"a276747f578e6e1df2b90257f5e64d76b67b25254c477458ff920d9809c56d9f49c8e05d733780242f2f86164f335df5b308098fe38aec9f632762482b37ac831b"
);
}
}
Loading

0 comments on commit df133b6

Please sign in to comment.