Commit 0870c633 authored by piguagua's avatar piguagua Committed by GitHub

chore: fix problematic function name in comment (#13781)

Signed-off-by: default avatarpiguagua <piguagua@aliyun.com>
parent 17f516ff
......@@ -142,7 +142,7 @@ func (d *KurtosisDeployer) getWallets(wallets deployer.WalletList) descriptors.W
return walletMap
}
// getEnvironmentInfo parses the input spec and inspect output to create KurtosisEnvironment
// GetEnvironmentInfo parses the input spec and inspect output to create KurtosisEnvironment
func (d *KurtosisDeployer) GetEnvironmentInfo(ctx context.Context, spec *spec.EnclaveSpec) (*KurtosisEnvironment, error) {
inspectResult, err := d.enclaveInspecter.EnclaveInspect(ctx, d.enclave)
if err != nil {
......
......@@ -134,7 +134,7 @@ func CreateL2(logger log.Logger, fa *foundry.ArtifactsFS, srcFS *foundry.SourceM
return l2Host
}
// prepareInitialL1 deploys basics such as preinstalls to L1 (incl. EIP-4788)
// PrepareInitialL1 deploys basics such as preinstalls to L1 (incl. EIP-4788)
func PrepareInitialL1(l1Host *script.Host, cfg *L1Config) (*L1Deployment, error) {
l1Host.SetTxOrigin(sysGenesisDeployer)
......
......@@ -42,7 +42,7 @@ func setupEndpointProviderTest(t *testing.T, numSequencers int) *endpointProvide
return ept
}
// newActiveL2EndpointProvider constructs a new ActiveL2RollupProvider using the test harness setup.
// newActiveL2RollupProvider constructs a new ActiveL2RollupProvider using the test harness setup.
func (et *endpointProviderTest) newActiveL2RollupProvider(checkDuration time.Duration) (*ActiveL2RollupProvider, error) {
mockRollupDialer := func(ctx context.Context, log log.Logger, url string) (RollupClientInterface, error) {
for i, client := range et.rollupClients {
......
......@@ -49,7 +49,7 @@ func TestExecutionPayloadUnmarshalMaliciousData(t *testing.T) {
require.Error(t, err)
}
// FuzzExecutionPayloadMarshalUnmarshal checks that our SSZ encoding>decoding round trips properly
// FuzzExecutionPayloadMarshalUnmarshalV1 checks that our SSZ encoding>decoding round trips properly
func FuzzExecutionPayloadMarshalUnmarshalV1(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte, a, b, c, d uint64, extraData []byte, txs uint16, txsData []byte) {
if len(data) < 32+20+32+32+256+32+32+32 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment