From 5e6ccb173ca41c4c109ec2fcd36dab01d37bd9f7 Mon Sep 17 00:00:00 2001 From: Ceyhun Onur Date: Mon, 18 Mar 2024 18:15:44 +0300 Subject: [PATCH] add new commit for testing --- .github/CODEOWNERS | 4 +++- .github/workflows/create-pr-subnet-evm.yml | 1 + act-mock.json | 16 ++++++++++++++++ params/precompile_upgrade.go | 1 + plugin/evm/mempool_atomic_gossiping_test.go | 1 + 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 act-mock.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4de07544cd..74c3477920 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -6,4 +6,6 @@ # review whenever someone opens a pull request. -* @darioush @ceyonur +- @darioush @ceyonur + +fortest diff --git a/.github/workflows/create-pr-subnet-evm.yml b/.github/workflows/create-pr-subnet-evm.yml index 207f1a0f02..3c168ffb8f 100644 --- a/.github/workflows/create-pr-subnet-evm.yml +++ b/.github/workflows/create-pr-subnet-evm.yml @@ -4,6 +4,7 @@ on: pull_request: # TODO: remove those after testimg types: + - opened - closed - synchronize - reopened diff --git a/act-mock.json b/act-mock.json new file mode 100644 index 0000000000..598b17153f --- /dev/null +++ b/act-mock.json @@ -0,0 +1,16 @@ +{ + "pull_request": { + "labels": [ + { + "name": "do not syncz" + } + ], + "head": { + "ref": "auto-pr-subnet-evm", + "sha": "16cf2556eaa09b894e29844b829d244a6cc65721" + }, + "base": { + "ref": "master" + } + } +} diff --git a/params/precompile_upgrade.go b/params/precompile_upgrade.go index 8130db5d52..bfe794cc5b 100644 --- a/params/precompile_upgrade.go +++ b/params/precompile_upgrade.go @@ -20,6 +20,7 @@ var errNoKey = errors.New("PrecompileUpgrade cannot be empty") // It is used to unmarshal the json into the correct precompile config type // based on the key. Keys are defined in each precompile module, and registered in // precompile/registry/registry.go. +// For test type PrecompileUpgrade struct { precompileconfig.Config } diff --git a/plugin/evm/mempool_atomic_gossiping_test.go b/plugin/evm/mempool_atomic_gossiping_test.go index 741c177b90..87eb009b60 100644 --- a/plugin/evm/mempool_atomic_gossiping_test.go +++ b/plugin/evm/mempool_atomic_gossiping_test.go @@ -17,6 +17,7 @@ import ( // shows that a locally generated AtomicTx can be added to mempool and then // removed by inclusion in a block +// for test func TestMempoolAddLocallyCreateAtomicTx(t *testing.T) { for _, name := range []string{"import", "export"} { t.Run(name, func(t *testing.T) {