projects: add celestiaorg/smt (#6134)

This project is an implementation of Sparse Merkle tree, which will be
used by Celestia, Cosmos SDK, ... and maybe other blockchain ecosystem.
We want to make sure the code is fuzzed to catch highly impacted bug as
soon as possible.

See:
 - https://github.com/celestiaorg
 - https://docs.cosmos.network/v0.42/
This commit is contained in:
Cuong Manh Le 2021-08-14 11:56:50 +07:00 committed by GitHub
parent e21bde5a3c
commit 5bf19bd693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 0 deletions

21
projects/smt/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
RUN git clone https://github.com/celestiaorg/smt
COPY build.sh $SRC
WORKDIR $SRC/smt

18
projects/smt/build.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash -eu
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
bash -x ./oss-fuzz-build.sh

12
projects/smt/project.yaml Normal file
View File

@ -0,0 +1,12 @@
homepage: "https://github.com/celestiaorg/smt"
primary_contact: "ismail@celestia.org"
auto_ccs:
- fuzzing@orijtech.com
- emmanuel@orijtech.com
- cuong@orijtech.com
language: go
fuzzing_engines:
- libfuzzer
sanitizers:
- address
main_repo: "https://github.com/celestiaorg/smt"