Skip to content

Set Sequencer Role

Set Sequencer Role #14

name: Set Sequencer Role
on:
workflow_dispatch:
inputs:
zenith-address:
description: 'Address of the Zenith contract'
required: true
type: string
sequencer-address:
description: 'Address of the sequencer account'
required: true
type: string
jobs:
set-sequencer-role:
uses: init4tech/actions/.github/workflows/forge-script.yml@main
with:
github-environment: dev
forge-script-contract: ZenithScript
forge-script-signature: "setSequencerRole(address,address)"
forge-script-params: "${{ inputs.zenith-address }} ${{ inputs.sequencer-address }}"
permissions:
id-token: write
secrets:
aws-role: ${{ secrets.AWS_DEPLOYER_ROLE }}
kms-key-id: ${{ secrets.HOLESKY_SEQUENCER_ADMIN_KEY_ID }}
rpc-url: ${{ secrets.HOLESKY_RPC_URL }}