Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed 1.11.0-rc2 #4534

Merged
merged 43 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
84cde3c
Use <=> operator for base_uint, Issue, and Book: (#4411)
drlongle Mar 15, 2023
cb08f2b
Allow port numbers be be specified with a colon: (#4328)
RichardAH Mar 15, 2023
9309b57
Rectify the import paths of boost/iterator: (#4293)
ckeshava Mar 15, 2023
0f1ffff
Set version to 1.10.1-b1
intelliot Mar 15, 2023
10555fa
fix(gateway_balances): handle overflow exception: (#4355)
RichardAH Mar 16, 2023
1c9df69
fix(ValidatorSite): handle rare null pointer dereference in timeout: …
ximinez Mar 16, 2023
150d4a4
refactor: optimize NodeStore object conversion: (#4353)
nbougalis Mar 16, 2023
9b2d563
fix: support RPC markers for any ledger object: (#4361)
ximinez Mar 20, 2023
305c9a8
`fixNFTokenRemint`: prevent NFT re-mint: (#4406)
shawnxie999 Mar 20, 2023
9fcb28a
docs: update protocol README (#4457)
intelliot Mar 21, 2023
acb3732
Merge branch 'master' (1.10.1) into develop
intelliot Mar 22, 2023
7745c72
docs: update build instructions: (#4381)
thejohnfreeman Mar 22, 2023
d772583
build: add interface library libxrpl: (#4449)
thejohnfreeman Mar 23, 2023
dffcdea
fix: `Expected` to return a value: (#4401)
scottschurr Mar 24, 2023
7aad6e5
feat: mark 4 amendments as obsolete: (#4291)
ximinez Mar 24, 2023
66627b2
Refactor fee initialization and configuration: (#4319)
ximinez Mar 28, 2023
79e621d
Update README.md (#4463)
alloynetworks Mar 28, 2023
46167d1
Add link to BUILD.md: (#4450)
intelliot Mar 28, 2023
135b63d
Update example [validator_list_sites] (#4448)
wilsonianb Mar 30, 2023
8bfdbcb
Add logging for exceptions: (#4400)
drlongle Mar 30, 2023
5ebcaf0
Add account flags to account_info response: (#4459)
drlongle Mar 30, 2023
2f3f6dc
Fix ledger_data to return an empty list: (#4398)
drlongle Mar 30, 2023
e6f4904
Fix unit test app.LedgerData (#4484)
drlongle Mar 31, 2023
f191c91
Add NFTokenPages to account_objects RPC: (#4352)
RichardAH Apr 5, 2023
9346842
Add jss fields used by Clio `nft_info`: (#4320)
ledhed2222 Apr 6, 2023
b7f588b
Introduce support for a slabbed allocator: (#4218)
nbougalis Jun 29, 2022
c3acbce
Optimize `SHAMapItem` and leverage new slab allocator: (#4218)
nbougalis Apr 1, 2023
066f91c
Avoid using std::shared_ptr when not necessary: (#4218)
nbougalis Apr 11, 2023
4f95b9d
Prevent replay attacks with NetworkID field: (#4370)
RichardAH Apr 12, 2023
e75cd49
Fix the fix for std::result_of (#4496)
thejohnfreeman Apr 12, 2023
1f41776
Add install instructions for package managers: (#4472)
thejohnfreeman Apr 13, 2023
c500396
Use quorum specified via command line: (#4489)
mtrippled Apr 20, 2023
8d482d3
Fix errors for Clang 16: (#4501)
thejohnfreeman Apr 21, 2023
436de0e
Expand Linux test matrix: (#4454)
thejohnfreeman Apr 24, 2023
b21a05d
Fix typo (#4508)
solmsted Apr 25, 2023
c7ef4c9
Add patched recipe for SOCI: (#4510)
thejohnfreeman Apr 26, 2023
67238b9
Update environment.md build doc to install `lzma`: (#4498)
sappenin Apr 27, 2023
78076a6
fix!: Prevent API from accepting seed or public key for account (#4404)
drlongle May 17, 2023
629ed5c
Switch to self-hosted runners for macOS (#4511)
thejohnfreeman May 17, 2023
3620ac2
Add nftoken_id, nftoken_ids, offer_id fields for NFTokens (#4447)
shawnxie999 May 18, 2023
ce997a6
Ensure that switchover vars are initialized before use: (#4527)
seelabs May 23, 2023
32f8ae1
Move faulty assert (#4533)
ximinez May 23, 2023
0295808
Set version to 1.11.0-rc2
intelliot May 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build
inputs:
generator:
default: null
configuration:
required: true
cmake-args:
default: null
# An implicit input is the environment variable `build_dir`.
runs:
using: composite
steps:
- name: dependencies
uses: ./.github/actions/dependencies
with:
configuration: ${{ inputs.configuration }}
- name: configure
shell: bash
run: |
cd ${build_dir}
cmake \
${{ inputs.generator && format('-G {0}', inputs.generator) || '' }} \
-DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake \
-DCMAKE_BUILD_TYPE=${{ inputs.configuration }} \
${{ inputs.cmake-args }} \
..
- name: build
shell: bash
run: |
cmake \
--build ${build_dir} \
--config ${{ inputs.configuration }} \
--parallel ${NUM_PROCESSORS:-$(nproc)}
23 changes: 23 additions & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: dependencies
inputs:
configuration:
required: true
# An implicit input is the environment variable `build_dir`.
runs:
using: composite
steps:
- name: export custom recipes
shell: bash
run: |
conan export external/snappy snappy/1.1.9@
conan export external/soci soci/4.0.3@
- name: install dependencies
shell: bash
run: |
mkdir ${build_dir}
cd ${build_dir}
conan install \
--output-folder . \
--build missing \
--settings build_type=${{ inputs.configuration }} \
..
40 changes: 40 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: macos
on: [push, pull_request]

jobs:

test:
strategy:
matrix:
platform:
- macos
generator:
- Ninja
configuration:
- Release
runs-on: [self-hosted, macOS]
env:
# The `build` action requires these variables.
build_dir: .build
NUM_PROCESSORS: 12
steps:
- name: checkout
uses: actions/checkout@v3
- name: install Ninja
if: matrix.generator == 'Ninja'
run: brew install ninja
- name: check environment
run: |
echo ${PATH} | tr ':' '\n'
python --version
conan --version
cmake --version
env
- name: build
uses: ./.github/actions/build
with:
generator: ${{ matrix.generator }}
configuration: ${{ matrix.configuration }}
- name: test
run: |
${build_dir}/rippled --unittest
143 changes: 79 additions & 64 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,94 +3,109 @@ on: [push, pull_request]

jobs:

test:
dependencies:
strategy:
fail-fast: false
matrix:
platform:
- ubuntu-latest
- macos-12
generator:
- Ninja
- linux
compiler:
- gcc
- clang
configuration:
- Debug
- Release
runs-on: ${{ matrix.platform }}
include:
- compiler: gcc
profile:
version: 11
cc: /usr/bin/gcc
cxx: /usr/bin/g++
- compiler: clang
profile:
version: 14
cc: /usr/bin/clang-14
cxx: /usr/bin/clang++-14
runs-on: [self-hosted, heavy]
container: thejohnfreeman/rippled-build-ubuntu:12e19cd9034b
env:
build_dir: .build
steps:
- name: checkout
uses: actions/checkout@v3
- name: install Ninja on Linux
if: matrix.generator == 'Ninja' && runner.os == 'Linux'
run: sudo apt install ninja-build
- name: install Ninja on OSX
if: matrix.generator == 'Ninja' && runner.os == 'macOS'
run: brew install ninja
- name: install nproc on OSX
if: runner.os == 'macOS'
run: brew install coreutils
- name: choose Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: learn Python cache directory
id: pip-cache
run: |
sudo pip install --upgrade pip
echo "::set-output name=dir::$(pip cache dir)"
- name: restore Python cache directory
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-${{ hashFiles('.github/workflows/nix.yml') }}
- name: install Conan
run: pip install wheel 'conan~=1.52'
- name: check environment
run: |
echo ${PATH} | tr ':' '\n'
python --version
conan --version
cmake --version
env
- name: configure Conan
run: |
conan profile new default --detect
conan profile update settings.compiler.cppstd=20 default
- name: configure Conan on Linux
if: runner.os == 'Linux'
run: |
conan profile update settings.compiler=${{ matrix.compiler }} default
conan profile update settings.compiler.version=${{ matrix.profile.version }} default
conan profile update settings.compiler.libcxx=libstdc++11 default
- name: learn Conan cache directory
id: conan-cache
run: |
echo "::set-output name=dir::$(conan config get storage.path)"
- name: restore Conan cache directory
uses: actions/cache@v2
conan profile update env.CC=${{ matrix.profile.cc }} default
conan profile update env.CXX=${{ matrix.profile.cxx }} default
conan profile update conf.tools.build:compiler_executables='{"c": "${{ matrix.profile.cc }}", "cpp": "${{ matrix.profile.cxx }}"}' default
- name: checkout
uses: actions/checkout@v3
- name: dependencies
uses: ./.github/actions/dependencies
with:
configuration: ${{ matrix.configuration }}
- name: archive cache
run: tar -czf conan.tar -C ~/.conan .
- name: upload cache
uses: actions/upload-artifact@v3
with:
path: ${{ steps.conan-cache.outputs.dir }}
key: ${{ hashFiles('~/.conan/profiles/default', 'conanfile.py', 'external/rocksdb/*', '.github/workflows/nix.yml') }}
- name: export Snappy
run: conan export external/snappy snappy/1.1.9@
- name: install dependencies
name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }}
path: conan.tar


test:
strategy:
fail-fast: false
matrix:
platform:
- linux
compiler:
- gcc
- clang
configuration:
- Debug
- Release
cmake-args:
-
- "-Dunity=ON"
needs: dependencies
runs-on: [self-hosted, heavy]
container: thejohnfreeman/rippled-build-ubuntu:12e19cd9034b
env:
build_dir: .build
steps:
- name: download cache
uses: actions/download-artifact@v3
with:
name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }}
- name: extract cache
run: |
mkdir ${build_dir}
cd ${build_dir}
conan install .. --build missing --settings build_type=${{ matrix.configuration }}
- name: configure
mkdir -p ~/.conan
tar -xzf conan.tar -C ~/.conan
- name: check environment
run: |
cd ${build_dir}
cmake \
-G ${{ matrix.generator }} \
-DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake \
-DCMAKE_BUILD_TYPE=${{ matrix.configuration }} \
-Dassert=ON \
-Dcoverage=OFF \
-Dreporting=OFF \
-Dunity=OFF \
..
echo ${PATH} | tr ':' '\n'
conan --version
cmake --version
env
ls ~/.conan
- name: checkout
uses: actions/checkout@v3
- name: build
run: |
cmake --build ${build_dir} --target rippled --parallel $(nproc)
uses: ./.github/actions/build
with:
generator: Ninja
configuration: ${{ matrix.configuration }}
cmake-args: ${{ matrix.cmake-args }}
- name: test
run: |
${build_dir}/rippled --unittest --unittest-jobs $(nproc)
12 changes: 7 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
id: pip-cache
run: |
pip install --upgrade pip
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: restore Python cache directory
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-${{ hashFiles('.github/workflows/windows.yml') }}
- name: install Conan
run: pip install wheel 'conan~=1.52'
run: pip install wheel 'conan<2'
- name: check environment
run: |
$env:PATH -split ';'
Expand All @@ -63,14 +63,16 @@ jobs:
- name: learn Conan cache directory
id: conan-cache
run: |
echo "::set-output name=dir::$(conan config get storage.path)"
echo "dir=$(conan config get storage.path)" >> $GITHUB_OUTPUT
- name: restore Conan cache directory
uses: actions/cache@v2
with:
path: ${{ steps.conan-cache.outputs.dir }}
key: ${{ hashFiles('~/.conan/profiles/default', 'conanfile.py', 'external/rocksdb/*', '.github/workflows/windows.yml') }}
- name: export Snappy
run: conan export external/snappy snappy/1.1.9@
- name: export custom recipes
run: |
conan export external/snappy snappy/1.1.9@
conan export external/soci soci/4.0.3@
- name: install dependencies
run: |
mkdir $env:build_dir
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ bin/project-cache.jam

# Ignore object files.
*.o
build
.nih_c
tags
TAGS
Expand Down Expand Up @@ -65,7 +64,7 @@ docs/html_doc
# Xcode user-specific project settings
# Xcode
.DS_Store
*/build/*
/build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand Down
Loading