repo_description: Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
repo_topics: blockchain confidentiality consensus distributed-ledger fabric hyperledger
code: /*
  Copyright IBM Corp. All Rights Reserved.
  
  SPDX-License-Identifier: Apache-2.0
  */
  package main
  
  import (
  	"testing"
  
  	"github.com/stretchr/testify/require"
  	yaml "gopkg.in/yaml.v3"
  )
  
  func TestDefaultConfigParsing(t *testing.T) {
  	config := &Config{}
  	err := yaml.Unmarshal([]byte(defaultConfig), &config)
  	require.NoError(t, err)
  }
  